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 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 > Shapes Go to DGKC docs Search Documentation


BRep Shape

BRep Geometry is represented by shape object. Most of shapes have sub shapes. In software terms shape is a base class for more specific classes: Vertex, edge, face, etc.

Shapes are accessed via IBRepShape_DG

Since v7.0 shapes can have Appearance attribute, which is null in most situations. In v7.0 the Appearance is ignored in all cases except the case of a face. Appearance is used when a per face color, etc. is needed.

To create an appearnce use IBRepShape_DG.GetAppearance(true); call.

IBRepShape_DG.Color property is a shortcut for IBRepShape_DG.GetAppearance(false).Get/SetColor(); Changes to the Color property are ignored without any warnings, if the apperance is null.

See also: Overview of BRep geometry