#include <math.H>
|
| | GenPoint2D () |
| |
| | GenPoint2D (const NumT &_x, const NumT &_y) |
| |
| | GenPoint2D (const NumT &_x, NumT &&_y) |
| |
| | GenPoint2D (NumT &&_x, const NumT &_y) |
| |
| | GenPoint2D (NumT &&_x, NumT &&_y) |
| |
| | GenPoint2D (const GenPoint2D &p) |
| |
| | GenPoint2D (GenPoint2D &&p) |
| |
| GenPoint2D & | operator= (const GenPoint2D &p) |
| |
| GenPoint2D & | operator= (GenPoint2D &&p) |
| |
| void | swap (GenPoint2D &p) |
| |
| const NumT & | get_x () const |
| |
| const NumT & | get_y () const |
| |
| void | set_x (const NumT &_x) |
| |
| void | set_x (NumT &&_x) |
| |
| void | set_y (const NumT &_y) |
| |
| void | set_y (NumT &&_y) |
| |
| void | nullify () |
| |
| bool | is_null () const |
| |
| bool | is_zero () const |
| |
| NumT | square_distance_with (const GenPoint2D &p) const |
| |
| real_t | distance_with (const GenPoint2D &p) const |
| |
| NumT | square_distance_to_origin () const |
| |
| NumT | distance_to_origin () const |
| |
| bool | is_to_right_from (const GenPoint2D &p, const GenPoint2D &q) const |
| |
| bool | is_to_right_on_from (const GenPoint2D &p, const GenPoint2D &q) const |
| |
| bool | is_to_left_from (const GenPoint2D &p, const GenPoint2D &q) const |
| |
| bool | is_to_left_on_from (const GenPoint2D &p, const GenPoint2D &q) const |
| |
| bool | is_collinear_with (const GenPoint2D &p, const GenPoint2D &q) const |
| |
| bool | is_between (const GenPoint2D &p, const GenPoint2D &q) const |
| |
| | operator bool () const |
| |
| bool | operator== (const GenPoint2D &p) const |
| |
| bool | operator!= (const GenPoint2D &p) const |
| |
| std::string | to_string () const |
| |
The documentation for this class was generated from the following files: