This document is archived and information here might be outdated. Recommended version. |
Reshapes (and possibly reinterpolates) the geometry of the specified edge.
[Visual Basic .NET] Public Function ReshapeEdgeGeometry ( _ ByVal Edge As ITopologyEdge, _ ByVal reshapeGeometry As IPath _ ) As Boolean
[C#] public bool ReshapeEdgeGeometry ( ITopologyEdge Edge, IPath reshapeGeometry );
[C++]
HRESULT ReshapeEdgeGeometry(
ITopologyEdge* Edge,
IPath* reshapeGeometry
);
[C++]
Parameters Edge
Edge is a parameter of type ITopologyEdge* reshapeGeometry
reshapeGeometry is a parameter of type IPath*
This method allows reshaping the geometry of an edge using the input path. If the geometry of the TopologyEdge is vertex attributes aware (Zs and Ms) the Ms and Zs of the newly created vertices will be interpolated using existing values. For PointIDAware geometry, newly created vertices get IDs values of 0.
Normally, the from and to nodes of the edge cannot be repositioned through use of this method. An exception is made when the edge is closed and doesn't interact with any other edges at its from/to node. In that case, edge reshaping is done by delegating to IRing::Reshape rather than IPolyline::Reshape.