ArcGIS Pro 2.7 API Reference Guide
DensifyByDeviation Method (GeometryEngine)

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.
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.
Exceptions
ExceptionDescription
Geometry is null or empty.
The method is not implemented for GeometryBag or Multipatch.
Remarks
The densify operation adds vertices to the input geometry.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

GeometryEngine Class
GeometryEngine Members