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


ITopologyGraph.GetParentGeometry Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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

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