This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IT > ITopologicalOperator5 Interface > ITopologicalOperator5.ClipEx Method (ArcObjects .NET 10.4 SDK) |
Constructs the intersection of this geometry and the specified envelope.
[Visual Basic .NET] Public Sub ClipEx ( _ ByVal clipperEnvelope As IEnvelope, _ ByVal bIncludeBoundary As Boolean _ )
[C#] public void ClipEx ( IEnvelope clipperEnvelope, bool bIncludeBoundary );
[C++]
HRESULT ClipEx(
IEnvelope* clipperEnvelope,
VARIANT_BOOL bIncludeBoundary
);
[C++]
Parameters clipperEnvelope
clipperEnvelope is a parameter of type IEnvelope bIncludeBoundary bIncludeBoundary is a parameter of type VARIANT_BOOL
The ClipEx method clips the geometry of the feature that is receiving the method call to the input clipperEnvelope, with the added option of whether you want to include segments lying on the boundary.
ITopologicalOperator5 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.