This document is archived and information here might be outdated.  Recommended version.


IGeometryBridge Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IGeometryBridge Interface

Provides access to a set of generic methods that can be used in all languages supported. Note: the IGeometryBridge interface has been superseded byIGeometryBridge2. Please consider using the more recent version.

Product Availability

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

Description

The IGeometryBridge methods can be used with any supported development languages: Java, C#, VB.Net, VB 6.0, C++, etc... The methods on the regular interfaces (IGeometryCollection, ISegmentCollection, IPointCollection, etc) are using C style arrays, which are not supported by some languages; the IGeometryBridge interface is there to solve that problem allowing to pass safe arrays instead.

Members

Description
Method AddGeometries Adds references to the specified geometries.
Method AddPoints 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.
Method AddSegments Adds references to segments.
Method AddWKSPointZs Adds vertices/points to this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch.
Method ConstructBuffers Constructs a set of buffers at various distances. More efficient than calling Buffer repeatedly on the same geometry.
Method Densify Densify segment into the specified number of smaller segments.
Method GetPoints Populates an array with references to points in the Multipoint. The QueryPoints method on IPointCollection makes copies of the points.
Method InsertGeometries Inserts at the specified index references to some number of geometries in the input array.
Method InsertPoints 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.
Method InsertSegments Inserts references to the input segments.
Method InsertWKSPointZs Inserts new vertices/points into this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch.
Method QueryBeginningRings Populates an array with references to all beginning rings of the specified types.
Method QueryFollowingRings Populates an array with references to following rings that are in the ring group that starts with the specified beginning ring.
Method QueryGeometries Populates the array with references to a sub-sequence of geometries.
Method QueryPoints Copies some points to an existing array of points.
Method QuerySegments Returns references to some of the input segments.
Method QueryWKSPointZs Copies vertices/points coordinates to the array of point structures.
Method ReplacePoints Replaces vertices/points within a PointCollection.
Method ReplaceSegments Removes and inserts from segments.
Method SetGeometries Replaces all geometries in the collection with the specified number of references to those in the input array.
Method SetPoints 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.
Method SetSegments Replaces all segments with references to the input segments.
Method SetWKSPointZs Replaces all vertices/points of this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch with new ones.

CoClasses that implement IGeometryBridge

CoClasses and Classes Description
GeometryEnvironment Provides a way of creating geometries from different inputs and setting/getting global variables for controlling behavior of geometry methods.