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


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

ITopologyGraph.GetParentGeometry Method

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

FeatureClass is a parameter of type IFeatureClass* fID
fID is a parameter of type long

Product Availability

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

Description

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

See Also

ITopologyGraph Interface