DGKC Control Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > Models > Entities > Geometry > BRep > Compounds Go to ActiveX docs Search Documentation


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 ShapeType_DG.Compound) > IBRepCompound_DG.

See also: BRep Edges, BRep Faces, Shape Explorer Sample