ArcObjects Library Reference (GeoDatabase)  

ITopologyGraph.SetEdgeGeometry Method

Assigns the path geometry to the specified edge. Reinterpolatex vertex attributes for the edge if any exist.

[Visual Basic .NET]
Public Sub SetEdgeGeometry ( _
    ByVal Edge As ITopologyEdge, _
    ByVal Geometry As IPath _
public void SetEdgeGeometry (
    ITopologyEdge Edge,
    IPath Geometry
HRESULT SetEdgeGeometry(
  ITopologyEdge* Edge,
  IPath* Geometry



  Edge is a parameter of type ITopologyEdge


  Geometry is a parameter of type IPath

Product Availability

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


That method allows replacing the geometry of an edge by the input path geometry. The end points of the edge must be respected.

See Also

ITopologyGraph Interface

.NET Samples

Curve conversion add-in (Code Files: CurveConversionDockWin)