DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > Model > Entities > Geometry > IGeometry_DG Search Documentation


IGeometry_DG Interface

GetGeometryType
GetBoundingBox
IsEmpty
Clear
Copy
Clone
SetModified
GetDimension

string GetGeometryType()

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


Box_DG 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. In case of a compound returns the highest dimension of the included shapes.