Public Member Functions | |
Point2D (const double x, const double y) | |
Point2D (const double vect[2]) | |
Point2D | operator+ (const Point2D &pt) const |
Point2D | operator- (const Point2D &pt) const |
Point2D | operator * (double factor) const |
Point2D | operator/ (double factor) const |
double | d2 () const |
Returns the squared distance to the origin, or the squared length of a vector. | |
Public Attributes | |
double | x |
double | y |
example.cpp, example2.cpp, and example3.cpp.
Definition at line 49 of file quasisampler_prototype.h.