DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Collapse ModelsModels
Expand DG Kernel ControlDG Kernel Control
Expand API ReferenceAPI Reference
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Support
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