ArcObjects Library Reference (GeoDatabase)  

ITopologyGraph.ReshapeEdgeGeometry Method

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,
  VARIANT_BOOL* reshaped
);
[C++]

Parameters

Edge

  Edge is a parameter of type ITopologyEdge

reshapeGeometry

  reshapeGeometry is a parameter of type IPath

reshaped [out, retval]   reshaped is a parameter of type VARIANT_BOOL

Product Availability

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

Description

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.

Remarks

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.

See Also

ITopologyGraph Interface