59 bool inArea = (vpc.x() >= minP.x() && vpc.x() <= maxP.x() && vpc.y() >= minP.y() && vpc.y() <= maxP.y());
125 os <<
"Vector(start=" << e.
_start <<
" end=" << e.
_end <<
")";
Vector & operator=(const Vector &v)
const Coordinate end() const
double x() const
Returns x of Coordinate.
double angleTo(const Coordinate &v) const
Returns angle To the coordinate.
virtual void accept(GeoEntityVisitor &v) const override
const Coordinate nearestPointOnEntity(const Coordinate &coord) const
double y() const
Returns y of Coordinate.
friend std::ostream & operator<<(std::ostream &os, const Vector &e)
const Coordinate nearestPointOnPath(const Coordinate &coord) const
Vector(const Coordinate &start, const Coordinate &end)
double dot(const Coordinate &coord) const
const Coordinate start() const
double distanceTo(const geo::Coordinate &c) const
const maths::Equation equation() const