This document is archived and information here might be outdated. Recommended version. |
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,
System.Int32* 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**
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.
When using C# you must use the IGeometryBridge interface to call this method.
When using VBNET you must use the IGeometryBridge interface to call this method.