DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ControlDG Kernel Control
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Expand General GeometryGeneral Geometry
Collapse ModelModel
Expand ViewView
Expand General ComputingGeneral Computing
Expand ViewsViews
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Support
Skip Navigation LinksHome Page > API Reference > Model > Entities > Appearence > IAppearance_DG Go to ActiveX docs Search Documentation


IAppearance_DG Interface

IAppearance_DG gives access to the generic (base) appearance attribute of an entity. It can be used directly to change attributes of 0-dimentional entities which consist of a single point or a set (array/list) of points.

Objects with 1-dimensional geometry (IGeometry_DG.GetDimension()==EDim_DG.e1D) also implement ILineStyle_DG, which can be queried from this interface and exposes more attributes.

Objects with surface ((IGeometry_DG.GetDimension()==EDim_DG.e2D) also implement IMaterial_DG, which can be queried from this interface and handles surface-related attributes.

IAppearance_DG is returned by IEntity_DG.GetAppearance()

See also: IMaterial_DG

Properties

Color Color
float PointWidth

Methods

EDim_DG GetDimension()

Identifies the actual type of the object implementing this interface. Return e2D means that IMaterial_DG can be queried from this interface. Return e1D means that ILineStyle_DG can be queried from this interface.