Go to the documentation of this file.
42 temp = sqrt(
x *
x +
y *
y);
54 return dx * dx + dy * dy;
59 return std::max(fabs(
x - v.
x), fabs(
y - v.
y));
64 return (
x * v.
x +
y * v.
y) / (sqrt(
x *
x +
y *
y) * sqrt(v.
x * v.
x + v.
y * v.
y));
82 if( v.
y <=
y ) quad = 1;
84 if( v.
x <=
x ) quad ^= 3;
157 if(
x == v.
x &&
y == v.
y)
165 if(
x != v.
x ||
y != v.
y)
181 return Stream << std::fixed <<
"[" << v.
x <<
", " << v.
y <<
"]";