ArcObjects Library Reference  (Geometry)    

IGeometryBridge2.SplitAtDistances Method

Introduces new vertices into this polyline at specified distances from the beginning of the polyline.

[Visual Basic 6.0]
Function SplitAtDistances(
    ByVal polyCurve As IPolycurve2, _
    distances() As Double, _
    ByVal asRatios As Boolean, _
    ByVal createParts As Boolean _
) As IEnumSplitPoint
[Visual Basic .NET]
Public Function SplitAtDistances ( _
    ByVal polyCurve As IPolycurve2, _
    ByRef distances As Double[]&, _
    ByVal asRatios As Boolean, _
    ByVal createParts As Boolean _
) As IEnumSplitPoint
[C#]
public IEnumSplitPoint SplitAtDistances (
    IPolycurve2 polyCurve,
    ref Double[]& distances,
    ref bool asRatios,
    ref bool createParts
);
[Java]
public IEnumSplitPoint splitAtDistances (
    IPolycurve2 polyCurve,
    Double[]& distances,
    Boolean asRatios,
    Boolean createParts
)
throws
    IOException,
    AutomationException
[C++]
HRESULT SplitAtDistances(
  IPolycurve2* polyCurve,
  distances* distances,
  VARIANT_BOOL asRatios,
  VARIANT_BOOL createParts,
  IEnumSplitPoint** splitInfo
);
[C++]

Parameters

polyCurve [in]

  polyCurve is a parameter of type IPolycurve2

distances [in]

  distances is a parameter of type

asRatios [in]

  asRatios is a parameter of type VARIANT_BOOL

createParts [in]

  createParts is a parameter of type VARIANT_BOOL

splitInfo [out, retval]

  splitInfo is a parameter of type IEnumSplitPoint

Product Availability

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

See Also

IGeometryBridge2 Interface

Example

IGeometryBridge2_SplitAtDistance_Example