ArcObjects Library Reference (Geometry)  

IGeometryServer2 Interface

Provides access to more standard operations on geometric 'value' objects. The input geometries are never modified by these operations. Designed for use in building web services or other kinds of distributed applications.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method AutoComplete Discovers polygons bounded by existing polygons and input linework.
Method Buffer Buffers an array of geometries by each distance specified in an array of distances. The distance units can optionally be specified. Geometries buffered at a given distance can optionally be unioned together.
Method ConvexHull Computes the convex hull of the input geometries
Method Cut Cuts the target polyline or polygon Cutter.
Method Densify Applies the ArcObjects 'Densify' operation to each element of the geometry array.
Method DensifyGeodesic Densifies geometries by plotting points along the geodesics between existing vertices (uses IPolycurve4::GeodesicDensify).
Method Difference Returns an array of geometries where each result geometry R[i] is (array1[i] difference G2).
Method FindSRByWKID Defines a spatial reference object based upon its well known identifier (WKID) and optionally a WKID for a vertical datum. The resolution and xy tolerances are either computed from the sr horizon or set to defaults. 'authority' is typically either 'EPSG' or 'E
Method FindSRByWKT Defines a spatial reference object based upon its well known text string (WKT) and optionally a WKT for a vertical datum. The resolution and xy tolerances are either computed from the sr horizon or set to defaults. The output sr is always high precision.
Method FindUnitsByWKID Defines a unit object based upon its well known identified (WKID). 'authority' is typically either 'EPSG' or 'ESRI'.
Method FindUnitsByWKT Defines a unit object based upon its well known text string.
Method Generalize Returns generalized (Douglas-Poiker) versions of the input polylines and polygons (uses IPolycurve::Generalize).
Method GetAreasAndLengths Calculates areas and perimeter lengths for each polygon in the specified array.
Method GetAreasAndLengths2 Calculates areas and perimeter lengths for each polygon in the specified array. Optionally does unit conversion.
Method GetDistance Reports shortest distance between G1 and G2.
Method GetDistanceGeodesic Reports the shortest geodesic distance between G1 and G2.
Method GetLabelPoints Calculates an interior point for each polygon.
Method GetLengths Calculates the length of eacch polyline in the specified array.
Method GetLengths2 Calculates the length of eacch polyline in the specified array. Optionally does unit conversion.
Method GetLengthsGeodesic Returns geodesic length of each Polyline.
Method Intersect Returns an array of geometries where each result geometry R[i] is (array1[i] intersect G2. If G2 is an Envelope, then this is clipping.
Method Offset Returns an array of polylines and polygons that are offset versions of the input polylines and polygons (uses ITopologicalOperator::ConstructOffset).
Method Project Projects an array of geometries from their current spatial reference (pInSR) to a destination spatial reference (pOutSR). The projection process can optionally include a datum transformation if the source and destination SRs have different GCSs.
Method Relation Determines the pairs of geometries from the input geometry arrays that participate in the specified spatial relation.
Method Reshape Reshapes the target polyline or polygon. The reshaping polyline can have only one part. If the target was not reshaped, an empty geometry of the saem type is returned.
Method Simplify Applies the ArcObjects 'Simplify' operation to each element of the geometry array.
Method TrimExtend Trims or extends each polyline in the input array using TrimExtendTo (uses IConstructCurve::ConstructExtended for extension operation).
Method Union Returns the topological union of the input geometries (uses ITopologicalOperator::ConstructUnion). The input geometries must have the same dimension (0d, 1d, 2d).

Inherited Interfaces

Interfaces Description
IGeometryServer Provides access to standard operations on geometric 'value' objects. The input geometries are never modified by these operations. Designed for use in building web services and web applications.

CoClasses that implement IGeometryServer2

CoClasses and Classes Description
GeometryServer (esriGeoDatabase) Provides access to standard operations on geometric 'value' objects. The input geometries are never modified by these operations. Designed for use in building web services and web applications.
GeometryServerImpl Provides access to standard operations on geometric 'value' objects. The input geometries are never modified by these operations. Designed for use in building web services or other kinds of distributed applications.