|
ActiveLib
|
Class to reorientate geometric objects to a horizontal plane. More...
#include <Leveller.h>
Public Member Functions | |
| Leveller () | |
| Leveller (const Vector3 &norm, double zAngle=0.0, double prec=math::eps) | |
| Leveller (const Leveller &source) | |
| ~Leveller () | |
| Leveller & | operator= (const Leveller &source) |
| const Vector3 & | getNormal () const |
| void | transform (Point &target) const |
| void | transform (Line &target) const |
| void | transform (Arc &target) const |
| void | transform (Polygon &target) const |
| void | setRotation (const Vector3 &norm, double zAngle=0, double prec=math::eps) |
| void | setZRotation (double angle) |
| Leveller & | reverse () |
Class to reorientate geometric objects to a horizontal plane.
| Leveller::Leveller | ( | ) |
Constructor

Constructor
| norm | Normal to the plane to be levelled |
| zAngle | The required rotation about the z axis |
| prec | The required precision |

| Leveller::Leveller | ( | const Leveller & | source | ) |
Copy constructor
| source | The object to copy |
| Leveller::~Leveller | ( | ) |
Destructor
|
inline |
Get the normal to the plane to be levelled
Assignment operator
| source | The object to copy |
| Leveller & Leveller::reverse | ( | ) |
Reverse the order of the transformation

Set the normal to the plane to be levelled
| norm | The normal to the plane to be levelled |
| zAngle | The required rotation about the z axis |
| prec | The required precision |

| void Leveller::setZRotation | ( | double | angle | ) |
Set the rotation about the z axis
| angle | The rotation about the z axis |
| void Leveller::transform | ( | Arc & | target | ) | const |
Transform an arc
| target | The arc to be transformed |

| void Leveller::transform | ( | Line & | target | ) | const |
Transform a line
| target | The line to be transformed |

| void Leveller::transform | ( | Point & | target | ) | const |
Transform a point
| target | The point to be transformed |

| void Leveller::transform | ( | Polygon & | target | ) | const |
Transform a polygon
| target | The polygon to be transformed |
