This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPolyline3 Interface > IPolyline3.TouchCut Method (ArcObjects .NET 10.4 SDK) |
Cut a polyline at locations where the cutter only touches the polyline, in addition to locations where the cutter crosses it.
[Visual Basic .NET] Public Sub TouchCut ( _ ByVal pCutter As IPolyline, _ ByRef ppLeftGeom As IGeometry, _ ByRef ppRightGeom As IGeometry _ )
[C#] public void TouchCut ( IPolyline pCutter, ref IGeometry ppLeftGeom, ref IGeometry ppRightGeom );
[C++]
HRESULT TouchCut(
IPolyline* pCutter,
IGeometry** ppLeftGeom,
IGeometry** ppRightGeom
);
[C++]
Parameters pCutter [in]
pCutter is a parameter of type IPolyline ppLeftGeom [out]
ppLeftGeom is a parameter of type IGeometry ppRightGeom [out]
ppRightGeom is a parameter of type IGeometry
Use the TouchCut method if the polyline has to be cut even if the cutter is only touching (End points on the interior of other geometry) the polyline. ITopologicalOperator::Cut would cut the polyline only if the cutter crosses it.