33 class LX_GEOM_EXPORT
XY 39 XY(
const double X,
const double Y);
44 void add(
const XY& Other);
48 XY added(
const XY& Other)
const;
53 double coord(
const int Index)
const;
55 void coord(
double&
X,
double&
Y)
const;
57 double crossed(
const XY& Right)
const;
60 double crossMagnitude(
const XY& Right)
const;
64 double crossSquareMagnitude(
const XY& Right)
const;
66 void divide(
const double Scalar);
68 XY divided(
const double Scalar)
const;
70 double dot(
const XY& Other)
const;
76 bool isEqual(
const XY& Other,
const double Tolerance)
const;
78 double modulus()
const;
81 XY multiplied(
const double Scalar)
const;
84 XY multiplied(
const XY& Other)
const;
86 XY multiplied(
const Mat2d& Matrix)
const;
89 void multiply(
const double Scalar);
92 void multiply(
const XY& Other);
94 void multiply(
const Mat2d& Matrix);
103 XY normalized()
const;
123 XY operator*(
const double Scalar)
const {
return multiplied(Scalar); }
126 XY operator/(
const double Scalar)
const {
return divided(Scalar); }
127 double operator^(
const XY& Right)
const {
return crossed(Right); }
140 void setCoord(
const int Index,
const double Xi);
143 void setCoord(
const double X,
const double Y);
147 void setLinearForm(
const double A1,
const XY& XY1,
const double A2,
const XY& XY2);
152 void setLinearForm(
const double A1,
const XY& XY1,
const double A2,
const XY& XY2,
const XY& XY3);
157 void setLinearForm(
const double A1,
const XY& XY1,
const XY& XY2);
162 void setLinearForm(
const XY& XY1,
const XY& XY2);
165 void setX(
const double X);
167 void setY(
const double Y);
170 double squareModulus()
const;
174 void subtract(
const XY& Right);
177 XY subtracted(
const XY& Right)
const;
X
Definition: Globals.h:29
Vector3f & operator *=(Vector3f &rclVect, const Matrix4D &rclMtrx)
Definition: Matrix.h:351
void operator+=(const XY &Other)
Definition: XY.h:105
void operator/=(const double Scalar)
Definition: XY.h:125
Y
Definition: Globals.h:29
XY operator/(const double Scalar) const
Definition: XY.h:126
XY operator-(const XY &Right) const
Definition: XY.h:112
XY operator+(const XY &Other) const
Definition: XY.h:106
void operator-=(const XY &Right)
Definition: XY.h:110
DualNumber operator *(DualNumber a, DualNumber b)
Definition: DualNumber.h:71
XY operator-() const
Definition: XY.h:108
double operator^(const XY &Right) const
Definition: XY.h:127