Interface IGeometryBridge
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
pGeometryCollectionIGeometryCollectionnewGeometriesIGeometry[]
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
pPointCollectionIPointCollection4newPointsIPoint[]
AddSegments(ISegmentCollection, ref ISegment[])
Adds references to segments.
void AddSegments(ISegmentCollection pSegmentCollection, ref ISegment[] newSegments)
Parameters
pSegmentCollectionISegmentCollectionnewSegmentsISegment[]
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
pPointCollectionIPointCollection4pointStructuresWKSPointZ[]
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
pTopologicalOperatorITopologicalOperator2distancesdouble[]
Returns
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
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
pPointCollectionIPointCollection4IndexintPointsIPoint[]
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
pGeometryCollectionIGeometryCollectionIndexintnewGeometriesIGeometry[]
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
pPointCollectionIPointCollection4IndexintnewPointsIPoint[]
InsertSegments(ISegmentCollection, int, ref ISegment[])
Inserts references to the input segments.
void InsertSegments(ISegmentCollection pSegmentCollection, int Index, ref ISegment[] newSegments)
Parameters
pSegmentCollectionISegmentCollectionIndexintnewSegmentsISegment[]
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
pPointCollectionIPointCollection4IndexintnewPointsWKSPointZ[]
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
pMultiPatchIMultiPatchringTypesDesiredintbeginningRingsIRing[]
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
pMultiPatchIMultiPatchbeginningRingIRingfollowingRingsIRing[]
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
pGeometryCollectionIGeometryCollectionIndexintgeometriesIGeometry[]
QueryPoints(IPointCollection4, int, ref IPoint[])
Copies some points to an existing array of points.
void QueryPoints(IPointCollection4 pPointCollection, int Index, ref IPoint[] Points)
Parameters
pPointCollectionIPointCollection4IndexintPointsIPoint[]
QuerySegments(ISegmentCollection, int, ref ISegment[])
Returns references to some of the input segments.
void QuerySegments(ISegmentCollection pSegmentCollection, int Index, ref ISegment[] segments)
Parameters
pSegmentCollectionISegmentCollectionIndexintsegmentsISegment[]
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
pPointCollectionIPointCollection4IndexintpointStructuresWKSPointZ[]
ReplacePoints(IPointCollection4, int, int, ref IPoint[])
Replaces vertices/points within a PointCollection.
void ReplacePoints(IPointCollection4 pPointCollection, int Index, int goingAway, ref IPoint[] newPoints)
Parameters
pPointCollectionIPointCollection4IndexintgoingAwayintnewPointsIPoint[]
ReplaceSegments(ISegmentCollection, int, int, ref ISegment[])
Removes and inserts from segments.
void ReplaceSegments(ISegmentCollection pSegmentCollection, int Index, int goingAway, ref ISegment[] newSegments)
Parameters
pSegmentCollectionISegmentCollectionIndexintgoingAwayintnewSegmentsISegment[]
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
pGeometryCollectionIGeometryCollectionnewGeometriesIGeometry[]
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
pPointCollectionIPointCollection4newPointsIPoint[]
SetSegments(ISegmentCollection, ref ISegment[])
Replaces all segments with references to the input segments.
void SetSegments(ISegmentCollection pSegmentCollection, ref ISegment[] newSegments)
Parameters
pSegmentCollectionISegmentCollectionnewSegmentsISegment[]
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
pPointCollectionIPointCollection4pointStructuresWKSPointZ[]