DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Expand DG Kernel ComponentsDG Kernel Components
Expand API ReferenceAPI Reference
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > Models > Entities > Geometry > BRep > Compounds 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 eShTypeCompoundDG > IBRepCompound_DG.

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