Go to the documentation of this file.
15 #include "../tools/MathToolbox.hpp"
16 #include "../tools/toolbox.hpp"
17 #include "../BasicDatatypes.hpp"
110 std::pair<value_type, value_type>
toPolar()
const;
213 std::istream&
read (std::istream& is,
UINT32 version);
227 std::ostream&
write (std::ostream& os,
UINT32 version)
const;
257 std::ostream&
operator<<(std::ostream& os,
const Point2D& point);
365 const double divisor(
dist() * point.
dist());
368 return acos( (*
this * point) / divisor );
static Point2D fromPolar(value_type dist, value_type angle)
const friend Point2D operator*(value_type, const Point2D &)
friend bool operator!=(const Point2D &, const Point2D &)
const friend Point2D operator-(const Point2D &, const Point2D &)
friend bool operator==(const Point2D &, const Point2D &)
const Point2D operator*(const Point2D &p, Point2D::value_type factor)
std::istream & read(std::istream &is, UINT32 version)
Reads a Point2D from an input stream.
value_type length() const
std::pair< value_type, value_type > toPolar() const
void rotate(value_type angle)
Point2D(value_type x, value_type y)
value_type floatingpoint_type
The type of the stored x and y coordinates. An alias for value_type.
bool operator==(const Box2D &b1, const Box2D &b2)
void setXY(value_type x, value_type y)
Point2D & operator/=(value_type divisor)
Point2D & operator*=(value_type factor)
void setPolar(value_type dist, value_type angle)
Point2D normalized() const
Point2D & operator-=(const Point2D &point)
value_type distSquare(const Point2D &point) const
std::ostream & write(std::ostream &os, UINT32 version) const
Writes a Point2D to an output stream.
std::ostream & operator<<(std::ostream &os, const EvalCaseResult &result)
const Point2D operator+(const Point2D &p1, const Point2D &p2)
double value_type
The type of the stored x and y coordinates.
const Point2D operator/(const Point2D &p, Point2D::value_type divisor)
const Point2D operator-(const Point2D &p1, const Point2D &p2)
Point2D rotated(value_type angle_rad) const
const friend Point2D operator/(const Point2D &, value_type)
Point2D & operator+=(const Point2D &point)
std::string toString(UINT16 digits=2) const
Text output for debugging.
virtual const UINT32 getUsedMemory() const
const friend Point2D operator+(const Point2D &, const Point2D &)
value_type getDist() const
bool operator!=(const Box2D &b1, const Box2D &b2)
value_type getAngle() const
libsick_ldmrs
Author(s): SICK AG
, Martin Günther , Jochen Sprickerhof
autogenerated on Wed Oct 26 2022 02:11:57