C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Index of edge identification. More...
#include <op_binding_data.h>
Public Member Functions | |
MbEdgeFacesIndexes () | |
Default constructor. | |
MbEdgeFacesIndexes (const MbEdgeFacesIndexes &other) | |
Copy-constructor. | |
MbEdgeFacesIndexes & | operator= (const MbEdgeFacesIndexes &other) |
Assignment operator. | |
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 MbEdgeFacesIndexes &other, double accuracy) const |
Determine whether an object is equal? | |
size_t | GetEdgeIndex () const |
The index of the edge in the set of solid edges. | |
size_t | GetFacePIndex () const |
The index of the face on the left in the set of solid faces. | |
size_t | GetFaceMIndex () const |
The index of the face on the right in the set of solid faces. | |
const MbCartPoint3D & | GetPoint () const |
Control point of the edge. | |
SimpleName | GetItemName () const |
A name of an object. | |
void | SetIndex (size_t index, size_t indexP, size_t indexM) |
Set index. | |
void | SetName (SimpleName name) |
Set name. | |
void | SetPoint (const MbCartPoint3D &p) |
Set name. | |
Static Public Member Functions | |
static bool | LessByEdgeIndex (const MbEdgeFacesIndexes &ind1, const MbEdgeFacesIndexes &ind2) |
Static operator "less". | |
Public Attributes | |
size_t | edgeIndex |
The index of the edge in the set of solid edges. | |
size_t | facePIndex |
The index of the face on the left in the set of solid faces. | |
size_t | faceMIndex |
The index of the face on the right in the set of solid faces. | |
MbCartPoint3D | point |
Control point of the edge. | |
SimpleName | itemName |
A name of an object. | |
Friends | |
reader & | operator>> (reader &in, MbEdgeFacesIndexes &ref) |
Read function. | |
writer & | operator<< (writer &out, const MbEdgeFacesIndexes &ref) |
Write function. | |
writer & | operator<< (writer &out, MbEdgeFacesIndexes &ref) |
Write function. | |
Index of edge identification.
Index contains the name, the index of the edge, indices of faces in the solid connected by edge and control point and is used to search the edge for fillet or chamfer. Edge searching is performed by name. In failure case - by indices, and checked by the control point.