Public Overloads Function SimplifyShapeByTangentSegments( _ ByVal inputGeometry As Multipart, _ ByVal maxOffset As Double, _ Optional ByVal offsetRatio As Double, _ Optional ByVal anchorPoints As IEnumerable(Of MapPoint) _ ) As Multipart
public Multipart SimplifyShapeByTangentSegments( Multipart inputGeometry, double maxOffset, double offsetRatio, IEnumerable<MapPoint> anchorPoints )
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.
- offsetRatio
- The ratio of segment length to offset distance, above which adjacent segments are considered collinear. This parameter is optional, default value = 250.0
- 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. This parameter is optional.
Return Value
A simplified geometry of the same type as the input geometry.