Class for 2D points. More...
#include <projection.hpp>

Public Member Functions | |
| Point2D (double _x=0., double _y=0.) | |
| Construct a point with two double. More... | |
| Point2D (const Point2D &p) | |
| Copy constructor. More... | |
| ~Point2D () | |
| Destructor. | |
| double | x () const |
| Access to abscissa, modification is not possible. | |
| double & | x () |
| Access to abscissa, modification is possible. | |
| double | y () const |
| Access to ordinate, modification is not possible. | |
| double & | y () |
| Access to ordinate, modification is possible. | |
| Point2D & | operator= (const Point2D &p) |
| Copy operator. More... | |
Class for 2D points.
Definition at line 23 of file projection.hpp.
|
inline |
Construct a point with two double.
| _x | Abscissa. |
| _y | Ordinate. |
Definition at line 30 of file projection.hpp.
|
inline |
Copy operator.
| p | Point2D to be copied. |
Definition at line 58 of file projection.hpp.
1.8.6