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);
71 void setX(
const double X);
73 void setY(
const double Y);
75 void setZ(
const double Z);
83 double coord(
const int Index)
const;
85 void coord(
double&
X,
double&
Y,
double&
Z)
const;
93 double modulus()
const;
95 double squareModulus()
const;
104 bool isEqual(
const XYZ& Other,
const double Tolerance)
const;
109 void add(
const XYZ& Other);
116 XYZ added(
const XYZ& Other)
const;
123 void cross(
const XYZ& Right);
130 XYZ crossed(
const XYZ& Right)
const;
136 double crossMagnitude(
const XYZ& Right)
const;
140 double crossSquareMagnitude(
const XYZ& Right)
const;
143 void crossCross(
const XYZ& Coord1,
const XYZ& Coord2);
146 XYZ crossCrossed(
const XYZ& Coord1,
const XYZ& Coord2)
const;
148 void divide(
const double Scalar);
152 XYZ divided(
const double Scalar)
const;
156 double dot(
const XYZ& Other)
const;
160 double dotCross(
const XYZ& Coord1,
const XYZ& Coord2)
const;
165 void multiply(
const double Scalar);
172 void multiply(
const XYZ& Other);
191 XYZ multiplied(
const double Scalar)
const;
192 XYZ operator*(
const double Scalar)
const {
return multiplied(Scalar); }
199 XYZ multiplied(
const XYZ& Other)
const;
214 XYZ normalized()
const;
224 XYZ reversed()
const;
229 void subtract(
const XYZ& Right);
236 XYZ subtracted(
const XYZ& Right)
const;
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);
250 void setLinearForm(
const double A1,
const XYZ& XYZ1,
const double A2,
const XYZ& XYZ2,
const XYZ& XYZ3);
254 void setLinearForm(
const double A1,
const XYZ& XYZ1,
const double A2,
const XYZ& XYZ2);
258 void setLinearForm(
const double A1,
const XYZ& XYZ1,
const XYZ& XYZ2);
260 void setLinearForm(
const XYZ& Left,
const XYZ& Right);
268 double& operator[](
int i);
269 const double& operator[](
int i)
const;
271 bool operator<(
const XYZ& rhs)
const;
X
Definition: Globals.h:29
XYZ operator-(const XYZ &Right) const
Definition: XYZ.h:237
XYZ operator/(const double Scalar) const
Definition: XYZ.h:153
void operator/=(const double Scalar)
Definition: XYZ.h:149
std::vector< Geom::XYZ > COORDS
Definition: XYZ.h:32
XYZ multiplied(const double Scalar) const
<me> = Matrix * <me>
Vector3f & operator *=(Vector3f &rclVect, const Matrix4D &rclMtrx)
Definition: Matrix.h:351
std::vector< XYZ > XYZ_Array
Definition: XYZ.h:281
Geom::XYZ operator *(const Geom::Mat &Matrix, const Geom::XYZ &Coord1)
Definition: XYZ.h:284
Y
Definition: Globals.h:29
XYZ operator+(const XYZ &Other) const
Definition: XYZ.h:117
void operator^=(const XYZ &Right)
Definition: XYZ.h:124
Z
Definition: Globals.h:29
XYZ operator^(const XYZ &Right) const
Definition: XYZ.h:131
void operator-=(const XYZ &Right)
Definition: XYZ.h:230
void operator+=(const XYZ &Other)
Definition: XYZ.h:110