#include <points.h>
Definition at line 37 of file points.h.
Public Member Functions | |
| coord_type | getX () const |
| coord_type | getY () const |
| double | magnitude () const |
| template<class point_type> | |
| bool | operator!= (const Point2D< point_type > &old) const |
| template<class point_type> | |
| Point2D< coord_type > & | operator+= (const Point2D< point_type > &old) |
| template<class point_type> | |
| Point2D< coord_type > & | operator-= (const Point2D< point_type > &old) |
| Point2D< coord_type > & | operator= (const Point2D< coord_type > &old) |
| template<class point_type> | |
| Point2D< coord_type > & | operator= (const Point2D< point_type > &old) |
| template<class point_type> | |
| bool | operator== (const Point2D< point_type > &old) const |
| coord_type | operator[] (int i) const |
| Point2D (const Point2D< coord_type > &old) | |
| template<class point_type> | |
| Point2D (const Point2D< point_type > &old) | |
| Point2D (coord_type x0, coord_type y0) | |
| Point2D () | |
| void | rotate (double angle) |
| void | set (coord_type nx, coord_type ny) |
| void | setX (coord_type nx) |
| void | setY (coord_type ny) |
| void | swap () |
| coord_type | x () const |
| coord_type | y () const |
| ~Point2D () | |
Protected Attributes | |
| coord_type | _x |
| coord_type | _y |
| Point2D< coord_type >::Point2D | ( | const Point2D< point_type > & | old | ) | [inline] |
| Point2D< coord_type >::Point2D | ( | const Point2D< coord_type > & | old | ) | [inline] |
| coord_type Point2D< coord_type >::getX | ( | ) | const [inline] |
Definition at line 94 of file points.h.
Referenced by EulerSpiral::compute_end_pt(), euc_distance(), operator*(), operator+(), operator-(), operator/(), and Point2D< double >::operator=().
00094 { return _x; };
| coord_type Point2D< coord_type >::getY | ( | ) | const [inline] |
Definition at line 95 of file points.h.
Referenced by EulerSpiral::compute_end_pt(), euc_distance(), operator*(), operator+(), operator-(), operator/(), and Point2D< double >::operator=().
00095 { return _y; };
| double Point2D< coord_type >::magnitude | ( | ) | const [inline] |
| coord_type Point2D< coord_type >::operator[] | ( | int | i | ) | const [inline] |
| void Point2D< coord_type >::rotate | ( | double | angle | ) | [inline] |
| void Point2D< coord_type >::set | ( | coord_type | nx, | |
| coord_type | ny | |||
| ) | [inline] |
| void Point2D< coord_type >::setX | ( | coord_type | nx | ) | [inline] |
Definition at line 99 of file points.h.
Referenced by EulerSpiral::compute_end_pt(), BiArc::compute_other_stuff(), EulerSpiral::get_fresnel_integral(), and Point2D< double >::set().
00099 { _x = nx; }
| void Point2D< coord_type >::setY | ( | coord_type | ny | ) | [inline] |
Definition at line 100 of file points.h.
Referenced by EulerSpiral::compute_end_pt(), BiArc::compute_other_stuff(), EulerSpiral::get_fresnel_integral(), and Point2D< double >::set().
00100 { _y = ny; }
| void Point2D< coord_type >::swap | ( | ) | [inline] |
| coord_type Point2D< coord_type >::x | ( | ) | const [inline] |
Definition at line 96 of file points.h.
Referenced by BiArc::compute_biarc_params(), EulerSpiral::compute_es_params(), BiArc::compute_join_theta(), and BiArc::compute_other_stuff().
00096 { return _x; };
| coord_type Point2D< coord_type >::y | ( | ) | const [inline] |
Definition at line 97 of file points.h.
Referenced by BiArc::compute_biarc_params(), EulerSpiral::compute_es_params(), BiArc::compute_join_theta(), and BiArc::compute_other_stuff().
00097 { return _y; };
Definition at line 40 of file points.h.
Referenced by Point2D< double >::getX(), Point2D< double >::magnitude(), Point2D< double >::operator!=(), Point2D< double >::operator+=(), Point2D< double >::operator-=(), Point2D< double >::operator=(), Point2D< double >::operator==(), Point2D< double >::operator[](), Point2D< double >::Point2D(), Point2D< double >::rotate(), Point2D< double >::setX(), Point2D< double >::swap(), and Point2D< double >::x().
Definition at line 40 of file points.h.
Referenced by Point2D< double >::getY(), Point2D< double >::magnitude(), Point2D< double >::operator!=(), Point2D< double >::operator+=(), Point2D< double >::operator-=(), Point2D< double >::operator=(), Point2D< double >::operator==(), Point2D< double >::operator[](), Point2D< double >::Point2D(), Point2D< double >::rotate(), Point2D< double >::setY(), Point2D< double >::swap(), and Point2D< double >::y().
1.5.6