This document is archived and information here might be outdated.  Recommended version.


ISegment.Densify Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

ISegment.Densify Method

Densify segment into the specified number of smaller segments. This method is intended for internal use only.

[Visual Basic .NET]
Public Sub Densify ( _
    ByVal cInSlots As Integer, _
    ByVal maxDeviation As Double, _
    ByRef pcOutSegments As Integer, _
    ByRef segments As ILine _
)
[C#]
public void Densify (
    int cInSlots,
    double maxDeviation,
    ref int pcOutSegments,
    ref ILine segments
);
[C++]
HRESULT Densify(
  long cInSlots,
  double maxDeviation,
  long* pcOutSegments,
  ILine** segments
);
[C++]

Parameters cInSlots cInSlots is a parameter of type long maxDeviation maxDeviation is a parameter of type double pcOutSegments [out] pcOutSegments is a parameter of type long segments [out]
segments is a parameter of type ILine

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Densifying individual segments can be accomplished in client code by add the segment to a temporary polyline, then densifying the polyline using one of the methods on IPolycurve. Alternatively, the IGeometryBridge interface on the GeometryEnvironment object can be used.

[C#]

When using C# you must use the IGeometryBridge interface to call this method.

[Visual Basic .NET]

When using VBNET you must use the IGeometryBridge interface to call this method.

See Also

ISegment Interface