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.GetParentGeometry Method (ArcObjects .NET 10.5 SDK) |
Creates a geometry corresponding to the current set of edges/nodes owned by the specified parent.
[Visual Basic .NET] Public Function GetParentGeometry ( _ ByVal FeatureClass As IFeatureClass, _ ByVal fID As Integer _ ) As IGeometry
[C#] public IGeometry GetParentGeometry ( IFeatureClass FeatureClass, int fID );
[C++]
HRESULT GetParentGeometry(
IFeatureClass* FeatureClass,
long fID,
IGeometry** theParentGeometry
);
[C++]
Parameters FeatureClass
FeatureClass is a parameter of type IFeatureClass fID fID is a parameter of type long theParentGeometry [out, retval]
theParentGeometry is a parameter of type IGeometry
GetParentGeometry returns a new geometry created from the set of edges/nodes owned by the specified TopologyParent. It will construct a geometry using the edges and nodes of given parent. This means that if vertices are introduced in the TopologyGraph by the presence of non-explicit intersections (Intersections not originally present in the parents) those intersections will be reflected by the insertion of new vertices on the output geometry (See picture below).