The Vertex class.
More...
#include <vertex.h>
◆ Vertex() [1/4]
◆ Vertex() [2/4]
◆ Vertex() [3/4]
◆ Vertex() [4/4]
◆ ~Vertex()
◆ getPos()
const Point & getPos |
( |
| ) |
const |
|
inlinenoexcept |
◆ getAngle()
const Angle & getAngle |
( |
| ) |
const |
|
inlinenoexcept |
◆ setPos()
void setPos |
( |
const Point & |
pos | ) |
|
|
inlinenoexcept |
◆ setAngle()
void setAngle |
( |
const Angle & |
angle | ) |
|
|
inlinenoexcept |
◆ serialize()
◆ operator=()
◆ operator==()
bool operator== |
( |
const Vertex & |
rhs | ) |
const |
|
noexcept |
◆ operator!=()
bool operator!= |
( |
const Vertex & |
rhs | ) |
const |
|
inlinenoexcept |
◆ operator<()
bool operator< |
( |
const Vertex & |
rhs | ) |
const |
|
noexcept |
The "<" operator to compare two librepcb::Vertex objects.
Useful for sorting vertex lists/sets (e.g. to for canonical order in files), or to store them in a QMap.
- Parameters
-
rhs | The right hand side object. |
- Returns
- true if this vertex is smaller, else false
◆ mPos
◆ mAngle
angle of the line between this vertex and the following vertex
The documentation for this class was generated from the following files:
- /__w/1/s/libs/librepcb/core/geometry/vertex.h
- /__w/1/s/libs/librepcb/core/geometry/vertex.cpp