ZeusMath-Library
2.0.4
|
#include <IVector3D.hpp>
Public Member Functions | |
virtual void MQUALIFIER | assign3D (const IVector3D &rVector)=0 |
virtual bool MQUALIFIER | isParallel (const IVector3D &rVector) const =0 |
virtual bool MQUALIFIER | isCollinear (const IVector3D &rVector) const =0 |
virtual bool MQUALIFIER | isZeroVector () const =0 |
virtual bool MQUALIFIER | isUnitVectorX () const =0 |
virtual bool MQUALIFIER | isUnitVectorY () const =0 |
virtual bool MQUALIFIER | isUnitVectorZ () const =0 |
virtual const Float &MQUALIFIER | getX () const =0 |
virtual const Float &MQUALIFIER | getY () const =0 |
virtual const Float &MQUALIFIER | getZ () const =0 |
virtual void MQUALIFIER | setX (const Float &fX)=0 |
virtual void MQUALIFIER | setY (const Float &fY)=0 |
virtual void MQUALIFIER | setZ (const Float &fZ)=0 |
virtual void MQUALIFIER | setValues (Float fX, Float fY, Float fZ)=0 |
virtual void MQUALIFIER | initAsZeroVector ()=0 |
virtual void MQUALIFIER | initAsUnitVectorX ()=0 |
virtual void MQUALIFIER | initAsUnitVectorY ()=0 |
virtual void MQUALIFIER | initAsUnitVectorZ ()=0 |
virtual void MQUALIFIER | calcVectorProduct (const IVector3D &rVector, IVector3D &rProduct) const =0 |
virtual void MQUALIFIER | calcAngleTo (const IVector3D &rVector, IAngle &rAngle) const =0 |
virtual Float MQUALIFIER | calcDistanceTo (const IVector3D &rVector) const =0 |
virtual void MQUALIFIER | normalize ()=0 |
virtual void MQUALIFIER | getHorizontalAngle (IAngle &rAngle) const =0 |
Angle functions and operations. More... | |
virtual void MQUALIFIER | getVerticalAngle (IAngle &rAngle) const =0 |
virtual void MQUALIFIER | setHorizontalAngle (const IAngle &rAngle)=0 |
virtual void MQUALIFIER | setVerticalAngle (const IAngle &rAngle)=0 |
virtual void MQUALIFIER | rotateX (const IAngle &rAngle)=0 |
virtual void MQUALIFIER | rotateY (const IAngle &rAngle)=0 |
virtual void MQUALIFIER | rotateZ (const IAngle &rAngle)=0 |
virtual void MQUALIFIER | rotateHorizontalAngle (const IAngle &rAngle)=0 |
virtual void MQUALIFIER | rotateVerticalAngle (const IAngle &rAngle)=0 |
virtual void MQUALIFIER | mirrorAtXYPlane ()=0 |
virtual void MQUALIFIER | mirrorAtXZPlane ()=0 |
virtual void MQUALIFIER | mirrorAtYZPlane ()=0 |
Public Member Functions inherited from zeus::IVector | |
virtual void MQUALIFIER | assign (const IVector &rVector)=0 |
virtual void MQUALIFIER | assignValues (const Float *apValues, Int iSize)=0 |
virtual bool MQUALIFIER | equals (const IVector &rVector, Float fPrecision=FLOAT_PRECISION) const =0 |
virtual Float MQUALIFIER | getComponent (Int iIndex) const =0 |
virtual Float *MQUALIFIER | getComponents ()=0 |
virtual const Float *MQUALIFIER | getComponentsConst () const =0 |
virtual Int MQUALIFIER | getDimension () const =0 |
virtual Float MQUALIFIER | getNorm () const =0 |
virtual Float MQUALIFIER | getNormSquared () const =0 |
virtual Float MQUALIFIER | getLength () const =0 |
virtual Float MQUALIFIER | getLengthSquared () const =0 |
virtual bool MQUALIFIER | setComponent (Int iIndex, Float fValue)=0 |
virtual void MQUALIFIER | setDimension (Int iValue)=0 |
virtual void MQUALIFIER | add (const IVector &rVector)=0 |
virtual void MQUALIFIER | subtract (const IVector &rVector)=0 |
virtual Float MQUALIFIER | calcScalarProduct (const IVector &rVector) const =0 |
virtual void MQUALIFIER | multiply (const Float &f)=0 |
virtual void MQUALIFIER | divide (const Float &f)=0 |
IVector3D encapsulates a three dimensional floating point vector as base class for vector geometry calculations.
|
pure virtual |
Assignment.
rVector | [IN]: Reference to interface type object to be assigned to this object. |
Implemented in zeus::TVector3D.
|
pure virtual |
Calculate the angle to another vector.
rVector | [IN] : Vector to calculate the angle to. |
rAngle | [OUT]: Angle object. |
Implemented in zeus::TVector3D.
|
pure virtual |
Calculate the distance to another vector.
rVector | [IN]: Vector to calculate the distance to. |
Implemented in zeus::TVector3D.
|
pure virtual |
Vector product.
rVector | [IN] : Vector to be multiplied with this vector. |
rProduct | [OUT]: Vector product. |
Implemented in zeus::TVector3D.
|
pure virtual |
Angle functions and operations.
Calculate the horizontal angle. This is usually called Phi, azimuth or longitude.
rAngle | [OUT]: The horizontal angle. In the undefined case x = y = 0, 0 is returned. |
Implemented in zeus::TVector3D.
|
pure virtual |
Calculate the vertical angle. This is usually called Delta, elevation or latitude.
rAngle | [OUT]: The vertical angle. In the undefined case x = y = z = 0, 0 is returned. |
Implemented in zeus::TVector3D.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Initialize as unit vector x.
Implemented in zeus::TVector3D.
|
pure virtual |
Initialize as unit vector y.
Implemented in zeus::TVector3D.
|
pure virtual |
Initialize as unit vector z.
Implemented in zeus::TVector3D.
|
pure virtual |
Initialize as zero vector.
Implemented in zeus::TVector3D.
|
pure virtual |
Collinearity with another vector: Parallel or anti-parallel.
rVector | [IN]: Vector to be compared for collinearity to this vector. |
true | : is collinear. |
false | is not collinear |
Implemented in zeus::TVector3D.
|
pure virtual |
Parallel to another vector? Pointing in the same direction.
rVector | [IN]: Vector to be compared for being parallel to this vector. |
true | : is parallel. |
false | si not parallel |
Implemented in zeus::TVector3D.
|
pure virtual |
Is this vector the unit vector x?
true | : This vector is the unit vector x. |
false | Not a unit vector in X |
Implemented in zeus::TVector3D.
|
pure virtual |
Is this vector the unit vector y?
true | : This vector is the unit vector y. |
false | Not a unit vector in Y |
Implemented in zeus::TVector3D.
|
pure virtual |
Is this vector the unit vector z?
true | : This vector is the unit vector z. |
false | Not a unit vector in Z |
Implemented in zeus::TVector3D.
|
pure virtual |
Is this vector the zero vector?
true | : This vector is the zero vector. |
false | Not a zero vector |
Implemented in zeus::TVector3D.
|
pure virtual |
Mirror at the xy plane.
Implemented in zeus::TVector3D.
|
pure virtual |
Mirror at the xz plane.
Implemented in zeus::TVector3D.
|
pure virtual |
Mirror at the yz plane.
Implemented in zeus::TVector3D.
|
pure virtual |
Normalize this vector.
Implemented in zeus::TVector3D.
|
pure virtual |
Rotate this vector such that its horizontal angle is increased by Angle.
rAngle | [IN]: Rotation angle. |
Implemented in zeus::TVector3D.
|
pure virtual |
Rotate this vector such that its vertical angle is increased by Angle.
rAngle | [IN]: Rotation angle. |
Implemented in zeus::TVector3D.
|
pure virtual |
Rotate this vector around the x-axis.
rAngle | [IN]: Rotation angle. |
Implemented in zeus::TVector3D.
|
pure virtual |
Rotate this vector around the y-axis.
rAngle | [IN]: Rotation angle. |
Implemented in zeus::TVector3D.
|
pure virtual |
Rotate this vector around the z-axis.
rAngle | [IN]: Rotation angle. |
Implemented in zeus::TVector3D.
|
pure virtual |
|
pure virtual |
Set all coordinates.
The values here must be given by value for safety in cases where get methods are used directly within the call to setValues().
fX | [IN]: x coordinate. |
fY | [IN]: y coordinate. |
fZ | [IN]: z coordinate. |
Implemented in zeus::TVector3D.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |