Go to the documentation of this file.
32 typedef std::vector<Geom::XYZ>
COORDS;
43 class LX_GEOM_EXPORT
XYZ
59 XYZ(
const double X,
const double Y,
const double Z);
62 void setCoord(
const double X,
const double Y,
const double Z);
69 void setCoord(
const int Index,
const double Xi);
83 double coord(
const int Index)
const;
85 void coord(
double&
X,
double&
Y,
double&
Z)
const;
104 bool isEqual(
const XYZ& Other,
const double Tolerance)
const;
192 XYZ operator*(
const double Scalar)
const {
return multiplied(Scalar); }
242 void setLinearForm(
const double A1,
const XYZ& XYZ1,
const double A2,
const XYZ& XYZ2,
const double A3,
const XYZ& XYZ3,
const XYZ& XYZ4);
246 void setLinearForm(
const double A1,
const XYZ& XYZ1,
const double A2,
const XYZ& XYZ2,
const double A3,
const XYZ& XYZ3);
bool isEqual(const XYZ &Other, const double Tolerance) const
XYZ added(const XYZ &Other) const
void setCoord(const int Index, const double Xi)
double crossSquareMagnitude(const XYZ &Right) const
void operator-=(const XYZ &Right)
Definition: XYZ.h:230
double z() const
Returns the X, Y, or Z coordinate of this number triple.
X
Definition: Globals.h:29
void setLinearForm(const double A1, const XYZ &XYZ1, const XYZ &XYZ2)
void add(const XYZ &Other)
void setCoord(const double X, const double Y, const double Z)
double & operator[](int i)
XYZ multiplied(const XYZ &Other) const
XYZ crossCrossed(const XYZ &Coord1, const XYZ &Coord2) const
XYZ operator^(const XYZ &Right) const
Definition: XYZ.h:131
XYZ operator*(const Geom::Mat &Matrix) const
Definition: XYZ.h:203
bool operator<(const XYZ &rhs) const
XYZ multiplied(const double Scalar) const
<me> = Matrix * <me>
const double & operator[](int i) const
XYZ multiplied(const Geom::Mat &Matrix) const
New = Matrix * <me>
void operator^=(const XYZ &Right)
Definition: XYZ.h:124
void setZ(const double Z)
Assigns the given value to ther Z coordinate of this number triple.
void operator+=(const XYZ &Other)
Definition: XYZ.h:110
XYZ operator+(const XYZ &Other) const
Definition: XYZ.h:117
double coord(const int Index) const
XYZ operator-(const XYZ &Right) const
Definition: XYZ.h:237
std::vector< Geom::XYZ > COORDS
Definition: XYZ.h:32
double operator*(const XYZ &Other) const
Definition: XYZ.h:157
void operator/=(const double Scalar)
Definition: XYZ.h:149
void setLinearForm(const XYZ &Left, const XYZ &Right)
double modulus() const
computes Sqrt (X*X + Y*Y + Z*Z) where X, Y and Z are the three coordinates of this number triple.
Z
Definition: Globals.h:31
void coord(double &X, double &Y, double &Z) const
void operator*=(const Geom::Mat &Matrix)
Definition: XYZ.h:176
void divide(const double Scalar)
divides <me> by a real.
std::vector< XYZ > XYZ_Array
Definition: XYZ.h:281
double y() const
Returns the X, Y, or Z coordinate of this number triple.
Geom::XYZ operator*(const Geom::Mat &Matrix, const Geom::XYZ &Coord1)
Definition: XYZ.h:284
void multiply(const Geom::Mat &Matrix)
void setX(const double X)
Assigns the given value to the X coordinate of this number triple.
void setLinearForm(const double A1, const XYZ &XYZ1, const double A2, const XYZ &XYZ2, const double A3, const XYZ &XYZ3)
double x() const
Returns the X, Y, or Z coordinate of this number triple.
void multiply(const XYZ &Other)
Y
Definition: Globals.h:30
XYZ(const double X, const double Y, const double Z)
modification of the XYZ coordinates
double dotCross(const XYZ &Coord1, const XYZ &Coord2) const
computes the triple scalar product.
void setY(const double Y)
Assigns the given value to the Y coordinate of this number triple.
XYZ operator/(const double Scalar) const
Definition: XYZ.h:153
double squareModulus() const
Computes X*X + Y*Y + Z*Z where X, Y and Z are the three coordinates of this number triple.
void setLinearForm(const double A1, const XYZ &XYZ1, const double A2, const XYZ &XYZ2, const XYZ &XYZ3)
double dot(const XYZ &Other) const
computes the scalar product between <me> and Other
XYZ subtracted(const XYZ &Right) const
XYZ()
creates an indefinite XYZ.
XYZ operator*(const double Scalar) const
Definition: XYZ.h:192
void cross(const XYZ &Right)
XYZ crossed(const XYZ &Right) const
void subtract(const XYZ &Right)
void operator*=(const double Scalar)
Definition: XYZ.h:166
void crossCross(const XYZ &Coord1, const XYZ &Coord2)
double crossMagnitude(const XYZ &Right) const
void multiply(const double Scalar)
void setLinearForm(const double A1, const XYZ &XYZ1, const double A2, const XYZ &XYZ2)
void operator*=(const XYZ &Other)
Definition: XYZ.h:173
XYZ divided(const double Scalar) const
divides <me> by a real.
Definition: PropertyContainer.h:33
void setLinearForm(const double A1, const XYZ &XYZ1, const double A2, const XYZ &XYZ2, const double A3, const XYZ &XYZ3, const XYZ &XYZ4)