This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyGraph Interface > ITopologyGraph.SplitEdgeAtPoint Method (ArcObjects .NET 10.5 SDK) |
Adds a pseudo-node to the edge at the point on the edge closest to the input point. The node gets created at an existing vertex if one is located within the specified tolerance of the split point.
[Visual Basic .NET] Public Sub SplitEdgeAtPoint ( _ ByVal Edge As ITopologyEdge, _ ByVal splitPoint As IPoint, _ ByVal tolerance As Double, _ ByRef from As ITopologyEdge, _ ByRef mid As ITopologyNode, _ ByRef to As ITopologyEdge _ )
[C#] public void SplitEdgeAtPoint ( ITopologyEdge Edge, IPoint splitPoint, double tolerance, ref ITopologyEdge from, ref ITopologyNode mid, ref ITopologyEdge to );
[C++]
HRESULT SplitEdgeAtPoint(
ITopologyEdge* Edge,
IPoint* splitPoint,
double tolerance,
ITopologyEdge** from,
ITopologyNode** mid,
ITopologyEdge** to
);
[C++]
Parameters Edge
Edge is a parameter of type ITopologyEdge splitPoint
splitPoint is a parameter of type IPoint 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
That method allows splitting a TopologyEdge at a given point. A TopologyNode is then created in memory at the specified point location 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.