#include <triangulation.h>
Public Member Functions | |
Point2D (double in_x=0., double in_y=0., double in_val=0., double in_area=0.) | |
Point2D (const Point2D &p) | |
double | distance (const Point2D &p) const |
double | distance2 (const Point2D &p) const |
double | norm () const |
bool | operator< (const Point2D &p) const |
bool | operator== (const Point2D &p) const |
bool | operator!= (const Point2D &p) const |
Point2D | operator+ (const Point2D &p) const |
Point2D | operator- (const Point2D &p) const |
void | opposite () |
Point2D | translation (double x, double y) |
Point2D | rotation (double angle) |
Public Attributes | |
double | x |
double | y |
double | val |
double | area |
double | norm2 |
Point2D::Point2D | ( | double | in_x = 0. , |
|
double | in_y = 0. , |
|||
double | in_val = 0. , |
|||
double | in_area = 0. | |||
) | [inline] |
Point2D::Point2D | ( | const Point2D & | p | ) | [inline] |
double Point2D::distance | ( | const Point2D & | p | ) | const [inline] |
double Point2D::distance2 | ( | const Point2D & | p | ) | const [inline] |
double Point2D::norm | ( | ) | const [inline] |
bool Point2D::operator!= | ( | const Point2D & | p | ) | const [inline] |
bool Point2D::operator< | ( | const Point2D & | p | ) | const [inline] |
bool Point2D::operator== | ( | const Point2D & | p | ) | const [inline] |
void Point2D::opposite | ( | ) | [inline] |
Point2D Point2D::rotation | ( | double | angle | ) | [inline] |
Point2D Point2D::translation | ( | double | x, | |
double | y | |||
) | [inline] |
double Point2D::area |
double Point2D::norm2 |
double Point2D::val |
double Point2D::x |
double Point2D::y |