DG Kernel Documentation


Skip Navigation Links. Skip Navigation LinksHome Page > API Reference > Model > Entities > Geometry > BSpline BRep Geometry > IBRepShape_DG

IBRepShape_DG Interface

GetShapeType
GetLocation
SetLocation
GetSubShapes
GetAncestors
IsPartner
IsSame
IsEqual
GetHash
GetTolerance

IFrame_DG GetLocation()

This method is reserved for future development. Currently returns location of the owner entity


ShapeType_DG GetShapeType()


IFrame_DG GetLocation()

This method is reserved for future development. Currently location of the top level shape coinsides with location of the owner entity. Location of child shapes should be considered undefined.


void SetLocation(IFrame_DG frame)

This method is reserved for future development. Currently the location is set internally


IShapeArray_DG GetSubShapes(ShapeType_DG type)


IShapeArray_DG GetAncestors(ShapeType_DG type)


bool IsPartner(IBRepShape_DG other)

Returns true if geometries of the shapes are identical up to movement in 3D space. i.e. Geometry is the same, but location may be different


bool IsSame(IBRepShape_DG other)

Returns true if the shapes have identical internal geometry and location, but may be different object instances in memory


bool IsEqual(IBRepShape_DG other)

Returns true if this and other refer to the same object in memory. The result is equivalent to GetHash()==other.GetHash()


int GetHash()

Returns an opaque number which identifies the object in computer memory.


double GetTolerance()