Interface ITopologicalOperator2

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

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

IGeometry

IsKnownSimple

bool IsKnownSimple { get; }

Property Value

bool

IsKnownSimple_2

Indicates whether this geometry is known (or assumed) to be topologically correct.

bool IsKnownSimple_2 { set; }

Property Value

bool

IsSimple

bool IsSimple { get; }

Property Value

bool

Methods

Buffer(double)

IGeometry Buffer(double distance)

Parameters

distance double

Returns

IGeometry

Clip(IEnvelope)

void Clip(IEnvelope clipperEnvelope)

Parameters

clipperEnvelope IEnvelope

ClipDense(IEnvelope, double)

void ClipDense(IEnvelope clipperEnvelope, double denseDistance)

Parameters

clipperEnvelope IEnvelope
denseDistance double

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

numBuffers int
distances double

Returns

IEnumGeometry

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.

[C#]

When using C# you must use the IGeometryBridge interface to call this method.

[Visual Basic .NET]

When using VBNET you must use the IGeometryBridge interface to call this method.

ConstructUnion(IEnumGeometry)

void ConstructUnion(IEnumGeometry geometries)

Parameters

geometries IEnumGeometry

ConvexHull()

IGeometry ConvexHull()

Returns

IGeometry

Cut(IPolyline, out IGeometry, out IGeometry)

void Cut(IPolyline cutter, out IGeometry leftGeom, out IGeometry rightGeom)

Parameters

cutter IPolyline
leftGeom IGeometry
rightGeom IGeometry

Difference(IGeometry)

IGeometry Difference(IGeometry other)

Parameters

other IGeometry

Returns

IGeometry

Intersect(IGeometry, esriGeometryDimension)

IGeometry Intersect(IGeometry other, esriGeometryDimension resultDimension)

Parameters

other IGeometry
resultDimension esriGeometryDimension

Returns

IGeometry

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

other IGeometry

Returns

IGeometry

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

clipperEnvelope IEnvelope
clippedGeometry IGeometry

QueryClippedDense(IEnvelope, double, IGeometry)

void QueryClippedDense(IEnvelope clipperEnvelope, double denseDistance, IGeometry clippedGeometry)

Parameters

clipperEnvelope IEnvelope
denseDistance double
clippedGeometry IGeometry

Simplify()

void Simplify()

SymmetricDifference(IGeometry)

IGeometry SymmetricDifference(IGeometry other)

Parameters

other IGeometry

Returns

IGeometry

TopologyCache(out long)

void TopologyCache(out long topologyCacheHandle)

Parameters

topologyCacheHandle long

Union(IGeometry)

IGeometry Union(IGeometry other)

Parameters

other IGeometry

Returns

IGeometry