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 _
)
[C#]
public void SetEdgeGeometry (
    ITopologyEdge Edge,
    IPath Geometry
);
[C++]
HRESULT SetEdgeGeometry(
  ITopologyEdge* Edge,
  IPath* Geometry
);
[C++]

Parameters

Edge

  Edge is a parameter of type ITopologyEdge

Geometry

  Geometry is a parameter of type IPath

Product Availability

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

Description

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) |