A class to divide an arc into facets.
More...
#include <Faceter.h>
A class to divide an arc into facets.
◆ Faceter() [1/3]
| Faceter::Faceter |
( |
const Point & | orig, |
|
|
const PolyPoint & | end, |
|
|
bool | isStart = false, |
|
|
bool | isEnd = true, |
|
|
double | toler = 0.002 ) |
Constructor
- Parameters
-
| orig | The arc origin |
| end | The arc end |
| isStart | Include a vertex at the start angle |
| isEnd | Include a vertex at the end angle |
| toler | The arc tolerance |
◆ Faceter() [2/3]
| Faceter::Faceter |
( |
const Point & | orig, |
|
|
const PolyPoint & | end, |
|
|
double | step ) |
Constructor
- Parameters
-
| orig | The arc origin |
| end | The arc end |
| step | The step value along the path |
◆ Faceter() [3/3]
| Faceter::Faceter |
( |
const Faceter & | source | ) |
|
Copy constructor
- Parameters
-
◆ ~Faceter()
| active::geometry::Faceter::~Faceter |
( |
| ) |
|
|
inline |
◆ getRemainder()
| double active::geometry::Faceter::getRemainder |
( |
| ) |
const |
|
inline |
Get the remaining length of the edge after the last vertex
- Returns
- The remainder
◆ getVertex()
| Point Faceter::getVertex |
( |
| ) |
const |
Get the current vertex
- Returns
- The current vertex
◆ isAtEnd()
| bool active::geometry::Faceter::isAtEnd |
( |
| ) |
const |
|
inline |
Determine if the end angle has been reached
- Returns
- True if the end angle has been reached
◆ isAtStart()
| bool active::geometry::Faceter::isAtStart |
( |
| ) |
const |
|
inline |
Determine if the current position is at the start
- Returns
- True if the current position is at the start
◆ operator++() [1/2]
| void Faceter::operator++ |
( |
| ) |
|
◆ operator++() [2/2]
| Faceter Faceter::operator++ |
( |
int | | ) |
|
Postfix increment operator
- Returns
- A copy of this
The documentation for this class was generated from the following files:
- /Users/rwessel/Documents/Development/ActiveLib/Active/Geometry/Faceter.h
- /Users/rwessel/Documents/Development/ActiveLib/Active/Geometry/Faceter.cpp