Interface IGeometryBridge

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

Provides access to a set of generic methods that can be used in all languages supported.

[Guid("518CBA93-621E-476A-824D-26A104A42902")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IGeometryBridge

Methods

AddGeometries(IGeometryCollection, ref IGeometry[])

Adds references to the specified geometries.

void AddGeometries(IGeometryCollection pGeometryCollection, ref IGeometry[] newGeometries)

Parameters

pGeometryCollection IGeometryCollection
newGeometries IGeometry[]

AddPoints(IPointCollection4, ref IPoint[])

Adds copies of the input points as vertices to this Path, Ring, Polyline, or Polygon; or references to the input points to this Multipoint, Triangles, TriangleFan, or TriangleStrip.

void AddPoints(IPointCollection4 pPointCollection, ref IPoint[] newPoints)

Parameters

pPointCollection IPointCollection4
newPoints IPoint[]

AddSegments(ISegmentCollection, ref ISegment[])

Adds references to segments.

void AddSegments(ISegmentCollection pSegmentCollection, ref ISegment[] newSegments)

Parameters

pSegmentCollection ISegmentCollection
newSegments ISegment[]

AddWKSPointZs(IPointCollection4, ref WKSPointZ[])

Adds vertices/points to this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch.

void AddWKSPointZs(IPointCollection4 pPointCollection, ref WKSPointZ[] pointStructures)

Parameters

pPointCollection IPointCollection4
pointStructures WKSPointZ[]

ConstructBuffers(ITopologicalOperator2, ref double[])

Constructs a set of buffers at various distances. More efficient than calling Buffer repeatedly on the same geometry.

IEnumGeometry ConstructBuffers(ITopologicalOperator2 pTopologicalOperator, ref double[] distances)

Parameters

pTopologicalOperator ITopologicalOperator2
distances double[]

Returns

IEnumGeometry

Densify(ISegment, double, ref int, ref ILine[])

Densify segment into the specified number of smaller segments.

void Densify(ISegment pSegment, double maxDeviation, ref int pcOutSegments, ref ILine[] segments)

Parameters

pSegment ISegment
maxDeviation double
pcOutSegments int
segments ILine[]

GetPoints(IPointCollection4, int, ref IPoint[])

Populates an array with references to points in the Multipoint. The QueryPoints method on IPointCollection makes copies of the points.

void GetPoints(IPointCollection4 pPointCollection, int Index, ref IPoint[] Points)

Parameters

pPointCollection IPointCollection4
Index int
Points IPoint[]

InsertGeometries(IGeometryCollection, int, ref IGeometry[])

Inserts at the specified index references to some number of geometries in the input array.

void InsertGeometries(IGeometryCollection pGeometryCollection, int Index, ref IGeometry[] newGeometries)

Parameters

pGeometryCollection IGeometryCollection
Index int
newGeometries IGeometry[]

InsertPoints(IPointCollection4, int, ref IPoint[])

Inserts copies of the input points as vertices into a Path, Ring, Polyline, or Polygon; or references to the input points into a Multipoint, Triangles, TriangleFan, or TriangleStrip.

void InsertPoints(IPointCollection4 pPointCollection, int Index, ref IPoint[] newPoints)

Parameters

pPointCollection IPointCollection4
Index int
newPoints IPoint[]

InsertSegments(ISegmentCollection, int, ref ISegment[])

Inserts references to the input segments.

void InsertSegments(ISegmentCollection pSegmentCollection, int Index, ref ISegment[] newSegments)

Parameters

pSegmentCollection ISegmentCollection
Index int
newSegments ISegment[]

InsertWKSPointZs(IPointCollection4, int, ref WKSPointZ[])

Inserts new vertices/points into this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch.

void InsertWKSPointZs(IPointCollection4 pPointCollection, int Index, ref WKSPointZ[] newPoints)

Parameters

pPointCollection IPointCollection4
Index int
newPoints WKSPointZ[]

QueryBeginningRings(IMultiPatch, int, ref IRing[])

Populates an array with references to all beginning rings of the specified types.

void QueryBeginningRings(IMultiPatch pMultiPatch, int ringTypesDesired, ref IRing[] beginningRings)

Parameters

pMultiPatch IMultiPatch
ringTypesDesired int
beginningRings IRing[]

QueryFollowingRings(IMultiPatch, IRing, ref IRing[])

Populates an array with references to following rings that are in the ring group that starts with the specified beginning ring.

void QueryFollowingRings(IMultiPatch pMultiPatch, IRing beginningRing, ref IRing[] followingRings)

Parameters

pMultiPatch IMultiPatch
beginningRing IRing
followingRings IRing[]

QueryGeometries(IGeometryCollection, int, ref IGeometry[])

Populates the array with references to a sub-sequence of geometries.

void QueryGeometries(IGeometryCollection pGeometryCollection, int Index, ref IGeometry[] geometries)

Parameters

pGeometryCollection IGeometryCollection
Index int
geometries IGeometry[]

QueryPoints(IPointCollection4, int, ref IPoint[])

Copies some points to an existing array of points.

void QueryPoints(IPointCollection4 pPointCollection, int Index, ref IPoint[] Points)

Parameters

pPointCollection IPointCollection4
Index int
Points IPoint[]

QuerySegments(ISegmentCollection, int, ref ISegment[])

Returns references to some of the input segments.

void QuerySegments(ISegmentCollection pSegmentCollection, int Index, ref ISegment[] segments)

Parameters

pSegmentCollection ISegmentCollection
Index int
segments ISegment[]

QueryWKSPointZs(IPointCollection4, int, ref WKSPointZ[])

Copies vertices/points coordinates to the array of point structures.

void QueryWKSPointZs(IPointCollection4 pPointCollection, int Index, ref WKSPointZ[] pointStructures)

Parameters

pPointCollection IPointCollection4
Index int
pointStructures WKSPointZ[]

ReplacePoints(IPointCollection4, int, int, ref IPoint[])

Replaces vertices/points within a PointCollection.

void ReplacePoints(IPointCollection4 pPointCollection, int Index, int goingAway, ref IPoint[] newPoints)

Parameters

pPointCollection IPointCollection4
Index int
goingAway int
newPoints IPoint[]

ReplaceSegments(ISegmentCollection, int, int, ref ISegment[])

Removes and inserts from segments.

void ReplaceSegments(ISegmentCollection pSegmentCollection, int Index, int goingAway, ref ISegment[] newSegments)

Parameters

pSegmentCollection ISegmentCollection
Index int
goingAway int
newSegments ISegment[]

SetGeometries(IGeometryCollection, ref IGeometry[])

Replaces all geometries in the collection with the specified number of references to those in the input array.

void SetGeometries(IGeometryCollection pGeometryCollection, ref IGeometry[] newGeometries)

Parameters

pGeometryCollection IGeometryCollection
newGeometries IGeometry[]

SetPoints(IPointCollection4, ref IPoint[])

Replaces all existing vertices of this Path, Ring, Polyline, or Polygon with copies of the input points; or all existing points of this Multipoint, Triangles, TriangleFan, or TriangleStrip with references to the input points.

void SetPoints(IPointCollection4 pPointCollection, ref IPoint[] newPoints)

Parameters

pPointCollection IPointCollection4
newPoints IPoint[]

SetSegments(ISegmentCollection, ref ISegment[])

Replaces all segments with references to the input segments.

void SetSegments(ISegmentCollection pSegmentCollection, ref ISegment[] newSegments)

Parameters

pSegmentCollection ISegmentCollection
newSegments ISegment[]

SetWKSPointZs(IPointCollection4, ref WKSPointZ[])

Replaces all vertices/points of this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch with new ones.

void SetWKSPointZs(IPointCollection4 pPointCollection, ref WKSPointZ[] pointStructures)

Parameters

pPointCollection IPointCollection4
pointStructures WKSPointZ[]