ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / GeometryEngine Class / DensifyByDeviation Method
The geometry to be densified.
The maximum distance in meters that the output geometry can deviate from the input geometry.

In This Topic
    DensifyByDeviation Method (GeometryEngine)
    In This Topic
    Densifies the specified geometry.
    Syntax
    public Geometry DensifyByDeviation( 
       Geometry geometry,
       double maxDeviationMeters
    )
    Public Function DensifyByDeviation( _
       ByVal geometry As Geometry, _
       ByVal maxDeviationMeters As Double _
    ) As Geometry

    Parameters

    geometry
    The geometry to be densified.
    maxDeviationMeters
    The maximum distance in meters that the output geometry can deviate from the input geometry.

    Return Value

    Returns the densified geometry. If the input geometry is empty, then it is returned unchanged.
    Exceptions
    ExceptionDescription
    Geometry is null.
    The method is not implemented for GeometryBag or Multipatch.
    Remarks
    The densify operation adds vertices to the input geometry.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also