Defines a right-hand or left-hand axis in 2D. More...
#include <cadex/Geom/Axis2d.hxx>
Public Member Functions | |
| Axis2d () | |
| Constructor. | |
| Axis2d (const Point2d &theLocation, const Direction2d &theXDir, const Direction2d &theYDir) | |
| Constructor. | |
| Axis2d (const Point2d &theLocation, const Direction2d &theDir, bool theCCW=true) | |
| Constructor. | |
| const Point2d & | Location () const |
| const Direction2d & | XDirection () const |
| const Direction2d & | YDirection () const |
| void | SetLocation (const Point2d &thePnt) |
| void | SetXDirection (const Direction2d &theDir) |
| void | SetYDirection (const Direction2d &theDir) |
Defines a right-hand or left-hand axis in 2D.
An axis is defined by a location point, a X-direction and an Y-direction the axis is right-handed or left-handed.
| cadex::Geom::Axis2d::Axis2d | ( | ) |
Constructor.
Creates an axis from point (0., 0.), X-direction (1., 0.) and Y-direction (0., 1.).
| cadex::Geom::Axis2d::Axis2d | ( | const Point2d & | theLocation, |
| const Direction2d & | theDir, | ||
| bool | theCCW = true ) |
Constructor.
If theCCW is true than axis2d will be right-handed.