C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Extended index of object identification. More...
#include <op_binding_data.h>
Public Member Functions | |
MbItemThinValues () | |
Default constructor. | |
MbItemThinValues (ptrdiff_t i, double d1, double d2) | |
Constructor by the index and thickness to outside and inside. | |
MbItemThinValues (ptrdiff_t i, const MbCartPoint3D &p, double d1, double d2, SimpleName n) | |
Constructor by the index, anchor point and thickness to outside and inside. | |
MbItemThinValues (const MbItemIndex &itemInd, double d1, double d2) | |
Constructor by the index, anchor point and thickness to outside and inside. | |
MbItemThinValues (const MbItemThinValues &other) | |
Copy-constructor. | |
MbItemThinValues & | operator= (const MbItemThinValues &other) |
Assignment operator. | |
void | Init (const MbItemIndex &itemInd, double d1, double d2) |
Initialize by identification index. More... | |
bool | IsSame (const MbItemThinValues &other, double accuracy) const |
Determine whether an object is equal? | |
![]() | |
MbItemIndex () | |
Default constructor. | |
MbItemIndex (size_t i) | |
Constructor by the index without anchor point. | |
MbItemIndex (size_t i, const MbCartPoint3D &p, SimpleName n) | |
Constructor by the index with anchor point. | |
MbItemIndex (size_t i, const MbFace &face) | |
Constructor by the index with anchor point. | |
MbItemIndex (size_t i, const MbCurveEdge &edge) | |
Constructor by the index with anchor point. | |
MbItemIndex (const MbItemIndex &other) | |
Copy-constructor. | |
~MbItemIndex () | |
Destructor. | |
void | Init (const MbItemIndex &other) |
Initialization function. | |
void | Init (size_t ind, bool reset=true) |
Initialization function. | |
void | Init (size_t i, const MbCartPoint3D &p, SimpleName n) |
Initialization function. | |
bool | Init (const MbFaceShell &, size_t faceIndex) |
Initialization function. | |
void | Init (const MbFace &, size_t faceIndex) |
Initialization function. | |
void | Init (const MbCurveEdge &, size_t edgeIndex) |
Initialization function. | |
MbItemIndex & | operator= (const MbItemIndex &other) |
Assignment operator. | |
size_t | GetIndex () const |
Get index. | |
SimpleName | GetName () const |
Get name. | |
const MbCartPoint3D & | GetPoint () const |
Get anchoring point. | |
void | SetIndex (size_t index) |
Set index. | |
void | SetName (SimpleName name) |
Set name. | |
void | SetPoint (const MbFace &) |
Set anchoring point. | |
void | SetPoint (const MbCurveEdge &) |
Set anchoring point. | |
void | ChangeIndexPoint (size_t index, const MbCartPoint3D &pnt) |
Change index and anchoring point. | |
void | ChangeIndexName (size_t index, const SimpleName &name) |
Change index and anchoring point. | |
void | Transform (const MbMatrix3D &matr) |
Transform element according to the matrix. | |
void | Move (const MbVector3D &to) |
Move an object along a vector. | |
void | Rotate (const MbAxis3D &axis, double ang) |
Rotate an object at a given angle around an axis. | |
bool | IsSame (const MbItemIndex &other, double accuracy) const |
Determine whether an object is equal? | |
Public Attributes | |
double | value1 |
The first parameter value of the object (thickness of the outside). | |
double | value2 |
The second parameter value of the object (thickness of the outside). | |
Additional Inherited Members | |
![]() | |
static bool | LessByItemIndex (const MbItemIndex &ind1, const MbItemIndex &ind2) |
Static operator "less". | |
static bool | LessByItemName (const MbItemIndex &ind1, const MbItemIndex &ind2) |
Static operator "less". | |
static bool | NoItemIndex (const MbItemIndex &ind) |
Static operator "no item index". | |
![]() | |
size_t | itemIndex |
The index of object in the shell. | |
MbCartPoint3D | point |
Control point of the object. | |
SimpleName | itemName |
A name of an object. | |
Extended index of object identification.
Extended index contains the name, the index in the solid and the control point and is used to search object (or example: face in the solid, for construction of thin wall). Object searching is performed by name. In failure case - by index, and checked by the control point.
|
inline |
Initialize by identification index.
Initialize by the identification index and thickness to outside and inside.
[in] | itemInd | - Identification index. |
[in] | d1 | - Thickness to outside. |
[in] | d2 | - Thickness to inside. |