This document is archived and information here might be outdated. Recommended version. |
Change graph connectivity: Moves the specified node, along with any selected edges incident on it. A copy of the node, along with unselected edges, remains in the original location.
[Visual Basic .NET] Public Sub SplitMoveNode ( _ ByVal nodeToSplit As ITopologyNode, _ ByVal moveTo As IPoint, _ ByVal proportionalStretch As Boolean _ )
[C#] public void SplitMoveNode ( ITopologyNode nodeToSplit, IPoint moveTo, bool proportionalStretch );
[C++]
HRESULT SplitMoveNode(
ITopologyNode* nodeToSplit,
IPoint* moveTo,
VARIANT_BOOL proportionalStretch
);
[C++]
Parameters nodeToSplit
nodeToSplit is a parameter of type ITopologyNode* moveTo
moveTo is a parameter of type IPoint* proportionalStretch
proportionalStretch is a parameter of type bool
SplitMoveNode is a method that allows modification of topology connectivity, by disconnecting a node and reconnecting it at a specified destination location. The selected TopologyElements (Node or Edge) Selection determines how the features (TopologyParents) are modified. The behavior is also different depending of the geometry type of the features modified (Polyline or Polygon). As any other operations on the TopologyGraph the Parent Selection will determine which parent is affected by the this operation (See ITopologyGraph::SetParentSelected topic for details on Topology Selection Vs Parent Selection)
SplitMoveNode requires that exactly one node and optionally one or more edges connected to this node are selected. It will not modify the TopologyParents if the destination point causes the features to be deleted. In this case the method will generate an error and abort the SplitMoveNode operation.