BRep Compound
A Compound shape consists of several, not necessarily joined,
shapes of possibly different types like solids and edges.
Compounds mostly are used as shape containers, for an example in operations which can result in disjoinded eometry like after Boolean subtract or union.
Compounds can be managed using IBRepCompound_DG. To obtain a coumpound use query:
IEntity_DG > GetGeometry() >
IGeometry_DG (Check GetGeometryType() returns "BRep")
> IBRepGeometry_DG >
GetShape() >
IBRepShape_DG (check GetShapeType() returns eShTypeCompoundDG >
IBRepCompound_DG.
See also: BRep Edges, BRep Faces, Shape Explorer Sample
|