C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

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 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)
 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.
 

Detailed Description

Vertex.

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.

Transform according to the matrix.

Parameters
[in]matr- Transformation matrix.

◆ Move()

void MpVertex::Move ( const MbVector to)

Move.

Move by a vector.

Parameters
[in]to- Movement vector.

◆ Rotate()

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

Rotate.

Rotate at angle around a point.

Parameters
[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: