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


ITopologyGraph.SplitEdgeAtDistance Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyGraph Interface > ITopologyGraph.SplitEdgeAtDistance Method
ArcGIS Developer Help

ITopologyGraph.SplitEdgeAtDistance Method

Adds a pseudo-node to the edge at the specified distance along the edge. The node gets created at an existing vertex if one is located within the specified tolerance.

[Visual Basic .NET]
Public Sub SplitEdgeAtDistance ( _
    ByVal Edge As ITopologyEdge, _
    ByVal Distance As Double, _
    ByVal asRatio As Boolean, _
    ByVal tolerance As Double, _
    ByRef from As ITopologyEdge, _
    ByRef mid As ITopologyNode, _
    ByRef to As ITopologyEdge _
)
[C#]
public void SplitEdgeAtDistance (
    ITopologyEdge Edge,
    double Distance,
    bool asRatio,
    double tolerance,
    ref ITopologyEdge from,
    ref ITopologyNode mid,
    ref ITopologyEdge to
);
[C++]
HRESULT SplitEdgeAtDistance(
  ITopologyEdge* Edge,
  double Distance,
  VARIANT_BOOL asRatio,
  double tolerance,
  ITopologyEdge** from,
  ITopologyNode** mid,
  ITopologyEdge** to
);
[C++]
Parameters
Edge 

Edge is a parameter of type ITopologyEdge* Distance
Distance is a parameter of type double asRatio
asRatio is a parameter of type bool tolerance
tolerance is a parameter of type double from [out]
from is a parameter of type ITopologyEdge** mid [out]
mid is a parameter of type ITopologyNode** to [out]
to is a parameter of type ITopologyEdge**

Product Availability

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

Description

That method allows splitting a TopologyEdge at a given distance. A TopologyNode is then created in memory at the specified distance along the TopologyEdge. This node is a construction TopologyNode (Pseudo-node). A vertex is introduced on the TopologyParents (features) only if the TopologyNode is modified by a TopologyGraph operation.

See Also

ITopologyGraph Interface