This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyGraph Interface > ITopologyGraph.SetEdgeGeometry Method (ArcObjects .NET 10.5 SDK) |
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
That method allows replacing the geometry of an edge by the input path geometry. The end points of the edge must be respected.