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 6.0]
Sub Densify(
    ByVal cInSlots As Long, _
    ByVal maxDeviation As Double, _
    pcOutSegments As Long, _
    segments As ILine _
)
[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
);
[Java]
public void densify (
    int cInSlots,
    double maxDeviation,
    int pcOutSegments,
    ILine segments
)
throws
    IOException,
    AutomationException
[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

Example

IGeometryBridge_Densify_Example

 


Feedback Send feedback on this page