DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > Model > Entities > Geometry > BSpline BRep Geometry > IBRepGeometry_DG Search Documentation


IBRepGeometry_DG Interface

GetShape
SetShape
CreateShape
Clear

Gives access to BRep type of geometry. Such geometries are created in various ways. One of them is via a call to IModel_DG.AddNewEntity2("BRep"). Another: IEntity_DG.SetGeometryType("BRep"). In these and other situation is is normally needed to query (cast) IBRepGeometry_DG from the general IGeometry_DG interface.


IBRepShape_DG GetShape()


void SetShape(IBRepShape_DG shape)


IBRepShape_DG CreateShape(ShapeType_DG type)


void Clear()

Removes (releases) BRepShape attached to this BRepGeometry