Added a free "cross product" function to Pointf (thinking the Pointf is

really a vector in this case).

Made the == operator inline.
This commit is contained in:
bubnikv 2016-11-28 17:34:52 +01:00
parent 695c92fb00
commit 8b0784f26c
2 changed files with 3 additions and 7 deletions

View file

@ -12,12 +12,6 @@ Point::Point(double x, double y)
this->y = lrint(y);
}
bool
Point::operator==(const Point& rhs) const
{
return this->coincides_with(rhs);
}
std::string
Point::wkt() const
{