56 return ((
x_ == p.
x())&&(
y_ == p.
y()));
156 o << this->
x() <<
" ";
157 o << this->
y() <<
" ";
a_point2 average_rot(const a_point2 &a, const a_point2 &b, double f)
double angle(const a_point2 &a, const a_point2 &b)
a_point2 operator+(const a_point2 &a, const a_point2 &b)
double operator*(const a_point2 &a, const a_point2 &b)
a_point2 operator/(const a_point2 &a, double v)
a_point2 circle_centre(const a_point2 &p1, const a_point2 &p2, const a_point2 &p3)
a_point2 operator-(const a_point2 &a, const a_point2 &b)
a_quaternion sqrt(const a_quaternion &x)
a_point2 & operator-=(const a_point2 &)
static const std::string help()
a_point2 & operator+=(const a_point2 &)
double operator*=(const a_point2 &)
a_point2 & operator=(const a_point2 &p)
virtual void write(std::ostream &o) const
virtual void read(std::istream &i)
a_point2 & rotate(const double angle)
bool operator==(const a_point2 &p)
a_point2 & operator/=(double v)