ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Parcels Namespace / ParcelUtilities Class / SimplifyShapeByTangentSegments Method / SimplifyShapeByTangentSegments(Multipart,Double,IEnumerable<MapPoint>) Method
The input polygon or polyline to be simplified.
The maximum distance that the final path can be from the original path, in the units of the input geometry's spatial reference.
The collection of point locations for vertices which will not be removed. If this collection is empty, all vertices will be considered to be candidates for removal.

In This Topic
    SimplifyShapeByTangentSegments(Multipart,Double,IEnumerable<MapPoint>) Method
    In This Topic
    Removes vertices from the input polygon or polyline geometry if the segments on either side are collinear. The maxOffset parameter defines the maximum distance that the final path can be from the original path. Vertices coincident with Anchor points will not be removed. If the input geometry is a polyline, the output will be a simplified polyline. If the input geometry is a polygon, the output will be a simplified polygon.
    Syntax
    Public Overloads Function SimplifyShapeByTangentSegments( _
       ByVal inputGeometry As Multipart, _
       ByVal maxOffset As Double, _
       ByVal anchorPoints As IEnumerable(Of MapPoint) _
    ) As Multipart

    Parameters

    inputGeometry
    The input polygon or polyline to be simplified.
    maxOffset
    The maximum distance that the final path can be from the original path, in the units of the input geometry's spatial reference.
    anchorPoints
    The collection of point locations for vertices which will not be removed. If this collection is empty, all vertices will be considered to be candidates for removal.

    Return Value

    A simplified geometry of the same type as the input geometry.
    Exceptions
    ExceptionDescription
    Input geometry cannot be null.
    Input geometry must have a valid spatial reference.
    Max offset must be a valid number greater than zero.
    An error occurred while simplifying the input geometry.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also