ArcObjects Library Reference (Geometry)  

ITopologicalOperator4.Cut2 Method

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

Product Availability

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

Remarks

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.

See Also

ITopologicalOperator4 Interface