This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISegment Interface > ISegment.Densify Method (ArcObjects .NET 10.5 SDK) |
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
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.