Interface ITopologicalOperator2
Provides access to members that extend the ITopologicalOperator interface.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("805AEEB0-1D4C-11D4-9F75-00C04F6BDD7F")]
public interface ITopologicalOperator2 : ITopologicalOperator
Remarks
ITopologicalOperator2 methods must be applied on high-level geometries only. High-Level geometries are point, multipoint, polyline and polygon. To use this interface with low-level geometries such as segments (Line, Circular Arc, Elliptic Arc, Bezier Curve), paths or rings, they must be wrapped into high-level geometry types.
For multipatch geometries, generally the footprint or envelope is used.
Properties
Boundary
IGeometry Boundary { get; }
Property Value
IsKnownSimple
bool IsKnownSimple { get; }
Property Value
IsKnownSimple_2
Indicates whether this geometry is known (or assumed) to be topologically correct.
bool IsKnownSimple_2 { set; }
Property Value
IsSimple
bool IsSimple { get; }
Property Value
Methods
Buffer(double)
IGeometry Buffer(double distance)
Parameters
distancedouble
Returns
Clip(IEnvelope)
void Clip(IEnvelope clipperEnvelope)
Parameters
clipperEnvelopeIEnvelope
ClipDense(IEnvelope, double)
void ClipDense(IEnvelope clipperEnvelope, double denseDistance)
Parameters
ClipToDomain()
Clips the geometry to the domain of the spatial reference. Useful for ensuring that buffers can be fit within the spatial domain of the feature class to which they are being added.
void ClipToDomain()
ConstructBuffers(int, ref double)
Constructs a set of buffers at various distances. More efficient than calling Buffer repeatedly on the same geometry. This method is intended for internal use only.
IEnumGeometry ConstructBuffers(int numBuffers, ref double distances)
Parameters
Returns
Remarks
use the generic version of this method accesible through the GeometryEnvironment singleton object via the IGeometryBridge interface.
This method is only implemented for polygons and polylines.
When using C# you must use the IGeometryBridge interface to call this method.
When using VBNET you must use the IGeometryBridge interface to call this method.
ConstructUnion(IEnumGeometry)
void ConstructUnion(IEnumGeometry geometries)
Parameters
geometriesIEnumGeometry
ConvexHull()
IGeometry ConvexHull()
Returns
Cut(IPolyline, out IGeometry, out IGeometry)
void Cut(IPolyline cutter, out IGeometry leftGeom, out IGeometry rightGeom)
Parameters
Difference(IGeometry)
IGeometry Difference(IGeometry other)
Parameters
otherIGeometry
Returns
Intersect(IGeometry, esriGeometryDimension)
IGeometry Intersect(IGeometry other, esriGeometryDimension resultDimension)
Parameters
otherIGeometryresultDimensionesriGeometryDimension
Returns
IntersectMultidimension(IGeometry)
Constructs the set-theoretic intersection of the inputs. The results are returned in a geometry bag with one element per result dimension.
IGeometry IntersectMultidimension(IGeometry other)
Parameters
otherIGeometry
Returns
Remarks
This method only works with the following combination of geometries: Polygon with Polyline (and vice versa), Polyline with Multipoint (and vice versa), Polygon with Multipoint (and vice versa).
When using this method to intersect a Polygon with a Polyline (or vice versa) the geometry returned will be a GeometryBag.
When using this method to intersect a Multipoint with a Polygon (or vice versa) or Multipoint with a Polyline (or vice versa) the geometry returned will be a Multipoint.
If the desired combination of geometries is not available on this function, use Intersect on ITopologicalOperator.
QueryClipped(IEnvelope, IGeometry)
void QueryClipped(IEnvelope clipperEnvelope, IGeometry clippedGeometry)
Parameters
QueryClippedDense(IEnvelope, double, IGeometry)
void QueryClippedDense(IEnvelope clipperEnvelope, double denseDistance, IGeometry clippedGeometry)
Parameters
Simplify()
void Simplify()
SymmetricDifference(IGeometry)
IGeometry SymmetricDifference(IGeometry other)
Parameters
otherIGeometry
Returns
TopologyCache(out long)
void TopologyCache(out long topologyCacheHandle)
Parameters
topologyCacheHandlelong
Union(IGeometry)
IGeometry Union(IGeometry other)
Parameters
otherIGeometry