41 Pnt2d(
const double Xp,
const double Yp);
47 const XY& coord()
const;
53 double coord(
const int Index)
const;
55 void coord(
double& Xp,
double& Yp)
const;
61 bool isEqual(
const Pnt2d& Other,
const double LinearTolerance)
const;
65 void mirror(
const Pnt2d& P);
71 void mirror(
const Ax2d& A);
77 void rotate(
const Pnt2d& P,
const double Ang);
79 Pnt2d rotated(
const Pnt2d& P,
const double Ang)
const;
81 void scale(
const Pnt2d& P,
const double S);
83 Pnt2d scaled(
const Pnt2d& P,
const double S)
const;
89 void setCoord(
const int Index,
const double Xi);
91 void setCoord(
const double Xp,
const double Yp);
93 void setX(
const double X);
95 void setXY(
const XY& Coord);
98 void setY(
const double Y);
100 double squareDistance(
const Pnt2d& Other)
const;
108 void translate(
const Vec2d& V);
113 void translate(
const Pnt2d& P1,
const Pnt2d& P2);
120 const XY& xy()
const;
X
Definition: Globals.h:29
constexpr bool operator!=(const basic_hashed_string< Char > &lhs, const basic_hashed_string< Char > &rhs) ENTT_NOEXCEPT
Compares two hashed strings.
Definition: entt.hpp:570
void transform(Container container, OutputIt out, BinaryFunction function)
Definition: Algorithms.h:29
Y
Definition: Globals.h:29
Defines a non-persistent vector in 2D space.
Definition: Vec2d.h:34
double distance(const Geom::Vec &v1, const Geom::Vec &v2)
Returns the distance between two points.
Definition: Vec.h:345
Defines a non-persistent 2D cartesian point.
Definition: Pnt2d.h:33