This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IT > ITopologicalOperator4 Interface > ITopologicalOperator4.Cut2 Method (ArcObjects .NET 10.5 SDK) |
Divides a geometry into multiple parts
[Visual Basic .NET] Public Function Cut2 ( _ ByVal pCutter As IPolyline _ ) As IGeometryCollection
[C#] public IGeometryCollection Cut2 ( IPolyline pCutter );
[C++]
HRESULT Cut2(
IPolyline* pCutter,
IGeometryCollection** ppParts
);
[C++]
Parameters pCutter
pCutter is a parameter of type IPolyline ppParts [out, retval]
ppParts is a parameter of type IGeometryCollection
This method provides a more robust alternative to ITopologicalOperator::Cut. It does not classify the cut polygon pieces as left or right of the cutting polyline. Cut2 is now only available in polygons.