8 #include "../BasicDatatypes.hpp" std::string toString(UINT16 digits=2) const
Text output for debugging.
void rotate(value_type angle)
static Point2D fromPolar(value_type dist, value_type angle)
void setPolar(value_type dist, value_type angle)
Point2D rotated(value_type angle_rad) const
Point2D normalized() const
double value_type
The type of the stored x and y coordinates.
value_type distSquare(const Point2D &point) const