public Geometry GeodeticDensifyByLength( Geometrygeometry, doublemaxSegmentLength, LinearUnitlengthUnit, GeodeticCurveTypecurveType)

Public Function GeodeticDensifyByLength( _ ByValgeometryAs Geometry, _ ByValmaxSegmentLengthAs Double, _ ByVallengthUnitAs LinearUnit, _ ByValcurveTypeAs GeodeticCurveType _ ) As Geometry

#### Parameters

*geometry*- The geometry to be densified. Cannot be null and its spatial reference cannot be null.
*maxSegmentLength*- The maximum segment length allowed. If maxSegmentLength is less than or equal to zero, the value of 50 km is used.
*lengthUnit*- The linear unit of maxSegmentLength.
*curveType*- The type of curve that connects the vertices of the densified geometry.

#### Return Value

The densified geometry. If the input geometry is empty, then it is returned unchanged.