C3D Toolkit  Kernel - 117982, Vision -

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 ()
Operations on vertex.
const MbCartPointGetCartPoint () 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.
MpEdgeGetBegEdge () const
 The previous edge.
MpEdgeGetEndEdge () 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)
 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.
virtual bool IsFamilyRegistrable () const
 Whether the object belongs to a registrable family.

Detailed Description


Vertex of a loop. Connects two edges of a loop - the previous and the next one.

Member Function Documentation

◆ Transform()

void MpVertex::Transform ( const MbMatrix matr)


Transform according to the matrix.

[in]matr- Transformation matrix.

◆ Move()

void MpVertex::Move ( const MbVector to)


Move by a vector.

[in]to- Movement vector.

◆ Rotate()

void MpVertex::Rotate ( const MbCartPoint pnt,
const MbDirection angle 


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.

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