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


ITopologyGraph.ReshapeEdgeGeometry 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.ReshapeEdgeGeometry Method
ArcGIS Developer Help

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
);
[C++]
Parameters
Edge 

Edge is a parameter of type ITopologyEdge* reshapeGeometry
reshapeGeometry is a parameter of type IPath*

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