DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Expand DG Kernel ControlsDG Kernel Controls
Expand API ReferenceAPI Reference
Expand ViewsViews
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 Go to DGKC 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