ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / GeometryEngine Class / DensifyByLength3D Method
The geometry to be densified.
The maximum segment 3D-length allowed in the output geometry.

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

    Parameters

    geometry
    The geometry to be densified.
    maxSegmentLength
    The maximum segment 3D-length allowed in the output 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.
    This geometry is not Z-Aware.
    Cannot do 3D operations on curve segments.
    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