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 > Geometry > IGeometry_DG Go to ActiveX docs Search Documentation


IGeometry_DG Interface

GetGeometryType
GetBoundingBox
IsEmpty
Clear
Copy
Clone
SetModified
GetDimension

Implemented by different geometry object types.

Typical methods of obtaning IGeometry_DG: IEntity_DG.GetGeometry(); Querying IGeometry_DG from more specific geometry type like IBRepGeometry_DG.


string GetGeometryType()

See IEntity_DG.GetGeometryType() for the list of possible values


BoxDg GetBoundingBox()


bool IsEmpty()


void Clear()

Deletes all data. The geometry becomes empty.


void Copy(IGeometry_DG geometry)


IGeometry_DG Clone()


void SetModified()

SetsSets modified flag to notify all views that presentation of the object has to be recalculated. The modifed flag most often is set automatically. Call to this method is needed in some cases when a low-level attribute has been modified without a way for the owner entity to know it. Most often the result of this is that a modification does not appear in 3D view immediately. Many such cases are documented.


EDim_DG GetDimension()

Returns e0D for vertices and point sets, e1D for lines, e2D for surfaces. Returns eUD if the dimension is not defined (like in the case of a BRep geometry without a shape attached).

Case of BRep geometry with compound shape is special: If the compound has sub-shapes of different dimensions, the returned value is eUD (unknown). Otherwise it is the dimension of the subshapes. See also: Dimension of BRep shapes