C3D Toolkit  Kernel - 117982, Vision -

Dimension. More...

#include <mb_dimension.h>

+ Inheritance diagram for MbDimension:
+ Collaboration diagram for MbDimension:

Public Member Functions

 MbDimension ()
virtual ~MbDimension ()
- Public Member Functions inherited from MbLegend
virtual ~MbLegend ()
MbeSpaceType Family () const override
 Get family of objects.
void CalculateLocalGabarit (const MbMatrix3D &into, MbCube &cube) const override
 To compute bounding box in a local coordinate system. More...
- Public Member Functions inherited from MbSpaceItem
virtual ~MbSpaceItem ()
void PrepareWrite () const
 Register object. More...
MbeRefType RefType () const override
 Get a registration type (for copying, duplication).
virtual MbeSpaceType IsA () const =0
 Get the type of the object.
bool IsFamilyRegistrable () const override
 Whether the object belongs to a registrable family.
virtual MbSpaceItemDuplicate (MbRegDuplicate *iReg=nullptr) const =0
 Create a copy of the object. More...
virtual void Transform (const MbMatrix3D &matr, MbRegTransform *iReg=nullptr)=0
 Convert the object according to the matrix. More...
virtual void Move (const MbVector3D &to, MbRegTransform *iReg=nullptr)=0
 Move an object along a vector. More...
virtual void Rotate (const MbAxis3D &axis, double angle, MbRegTransform *iReg=nullptr)=0
 Rotate an object around an axis at a given angle. More...
virtual bool IsSame (const MbSpaceItem &other, double accuracy=LENGTH_EPSILON) const =0
 Determine whether an object is equal. More...
virtual bool SetEqual (const MbSpaceItem &item)=0
 Make objects equal if they are similar. More...
virtual double DistanceToPoint (const MbCartPoint3D &point) const =0
 Determine the distance to the point. More...
virtual void AddYourGabaritTo (MbCube &cube) const =0
 Expand sent bounding box (a.k.a. gabarit), so that it included the object. More...
virtual void Refresh ()
 Translate all the time (mutable) data objects in an inconsistent (initial) state.
virtual MbPropertyCreateProperty (MbePrompt name) const =0
 Create your own property with the name.
virtual void GetProperties (MbProperties &properties)=0
 Outstanding properties of the object. More...
virtual void SetProperties (const MbProperties &properties)=0
 Change the properties of an object. More...
virtual void CalculateMesh (const MbStepData &stepData, const MbFormNote &note, MbMesh &mesh) const =0
 Build polygonal copy mesh. More...
void CalculateWire (const MbStepData &stepData, MbMesh &mesh) const
void CalculateWire (double sag, MbMesh &mesh) const
virtual void GetBasisItems (RPArray< MbSpaceItem > &)
 Outstanding reference objects in a container sent.
virtual void GetBasisPoints (MbControlData3D &) const
 Get control points of object.
virtual void SetBasisPoints (const MbControlData3D &)
 Change the object by control points.
- Public Member Functions inherited from TapeBase
 TapeBase (RegistrableRec regs=noRegistrable)
 TapeBase (const TapeBase &)
virtual ~TapeBase ()
RegistrableRec GetRegistrable () const
 Whether the stream class is registrable.
void SetRegistrable (RegistrableRec regs=registrable) const
 Set the state of registration of the stream class.
virtual const char * GetPureName (const VersionContainer &) const
 Get the class name.
- Public Member Functions inherited from MbRefItem
refcount_t GetUseCount () const
 Get count of references (get count of owners of an object).
refcount_t AddRef () const
 Increase count of references by one.
refcount_t DecRef () const
 Decrease count of references by one.
refcount_t Release () const
 Decrease count of references by one and if count of references became zero, then remove itself.

Protected Member Functions

 MbDimension (const MbDimension &)
- Protected Member Functions inherited from MbLegend
 MbLegend ()
- Protected Member Functions inherited from MbSpaceItem
 MbSpaceItem ()
 Default constructor.
- Protected Member Functions inherited from MbRefItem
 MbRefItem ()
 Constructor without parameters.

Common functions of a geometric object.

MbeSpaceType Type () const override
 Get the group object type.
bool IsSimilar (const MbSpaceItem &) const override
 Determine whether an object is similar. More...

Detailed Description


Common class of dimensions.

Member Function Documentation

◆ IsSimilar()

bool MbDimension::IsSimilar ( const MbSpaceItem item) const

Determine whether an object is similar.

Such are considered the same objects whose data are similar.

[in]item- The object to compare.
Whether the objects are similar.

Reimplemented from MbSpaceItem.

The documentation for this class was generated from the following file: