|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
Vertex. More...
#include <contour_graph.h>
Inheritance diagram for MpVertex:
Collaboration diagram for MpVertex:Public Member Functions | |
| MpVertex (const MbCartPoint &initP) | |
| Constructor by point. | |
| virtual | ~MpVertex () |
| Destructor. | |
Operations on vertex. | |
| const MbCartPoint & | GetCartPoint () const |
| Get the Cartesian point of a vertex. | |
| void | GetCartPoint (MbCartPoint &cp) const |
| Get the Cartesian point of a vertex. | |
| void | SetCartPoint (MbCartPoint &cp) |
| Set the Cartesian point of a vertex. | |
Operations on pointers to edges. | |
| void | SetBegEdge (MpEdge *edge) |
| Change the previous edge. | |
| void | SetEndEdge (MpEdge *edge) |
| Change the next edge. | |
| MpEdge * | GetBegEdge () const |
| The previous edge. | |
| MpEdge * | GetEndEdge () const |
| The next edge. | |
Transformation operations. | |
| void | Transform (const MbMatrix &matr) |
| Transform. More... | |
| void | Move (const MbVector &to) |
| Move. More... | |
| void | Rotate (const MbCartPoint &pnt, const MbDirection &angle) |
| Rotate. More... | |
Public Member Functions inherited from TapeBase | |
| TapeBase (RegistrableRec regs=noRegistrable) | |
| Constructor. | |
| TapeBase (const TapeBase &) | |
| Copy-constructor. | |
| virtual | ~TapeBase () |
| Destructor. | |
| 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. | |
| virtual bool | IsFamilyRegistrable () const |
| Whether the object belongs to a registrable family. | |
Vertex.
Vertex of a loop. Connects two edges of a loop - the previous and the next one.
Transform.
Transform according to the matrix.
| [in] | matr | - Transformation matrix. |
Move.
Move by a vector.
| [in] | to | - Movement vector. |
| void MpVertex::Rotate | ( | const MbCartPoint & | pnt, |
| const MbDirection & | angle | ||
| ) |
Rotate.
Rotate at angle around a point.
| [in] | pnt | - A point is a rotation center. |
| [in] | angle | - A two-dimensional normalized vector determining the rotation angle. |