ArcGIS Pro 2.6 API Reference Guide
DensifyByLength3D Method (GeometryEngine)

ArcGIS.Core.Geometry Namespace > GeometryEngine Class : DensifyByLength3D Method
The geometry to be densified.
The maximum segment 3D-length allowed in the output geometry.
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.
Exceptions
ExceptionDescription
Geometry is null or empty.
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 10, Windows 8.1, Windows 7

See Also

Reference

GeometryEngine Class
GeometryEngine Members