Public Fields
-
double x
- Public data members
-
double y
-
double z
Public Methods
-
Vector3D& Zero(void)
-
Vector3D()
- Constructors / Destructors
-
Vector3D(double X, double Y, double Z)
-
virtual ~Vector3D()
-
inline Vector3D& operator=(const Vector3D& other)
- Operator overloads
-
inline Vector3D operator+(const Vector3D& other) const
-
inline Vector3D& operator+=(const Vector3D& other)
-
inline Vector3D operator-(void) const
-
inline Vector3D operator-(const Vector3D& other) const
-
inline Vector3D& operator -=(const Vector3D& other)
-
inline Vector3D operator/(const double other) const
-
inline Vector3D& operator/=(const double other)
-
inline Vector3D operator*(const double other) const
-
inline Vector3D& operator*=(const double other)
-
inline double operator *(const Vector3D& other) const
-
inline Vector3D operator^(const Vector3D &other) const
- Dot product
-
inline Vector3D& operator^=(const Vector3D &other)
- Cross product
-
void Set(double X, double Y, double Z)
- Other public methods
-
void SetElement(int i, double val)
-
double GetElement(int i) const
-
double Angle(const Vector3D &v) const
-
Vector3D NormalizeV(void) const
- Angle between this vector and v(in radians)
-
void Normalize(void)
-
bool IsNormalized(void) const
-
inline double Length(void) const
-
inline double Length2(void) const
-
void Randomize(double R)
- =lenght^2
-
void Out(char* c) const
-
int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
-
string GetXMLnode(string label) const
-
inline Vector3D& operator =(const Vector3D & other)
- Igualdad vectorial
-
inline Vector3D operator +(const Vector3D& other) const
- Suma vectorial
-
inline Vector3D& operator +=(const Vector3D & other)
- Suma vectorial
-
inline Vector3D& operator -=(const Vector3D & other)
- Resta de vectores
-
inline Vector3D operator -() const
- Resta de vectores
-
inline Vector3D operator -(const Vector3D& other) const
- Resta de vectores
-
inline Vector3D operator /(const double other) const
- División del vector por un escalar
-
inline Vector3D& operator /=(const double other)
- División del vector por un escalar
-
inline Vector3D operator *(const double other) const
- Producto del vector con un escalar
-
inline Vector3D& operator *=(const double other)
- Producto del vector con un escalar
-
inline double operator *(const Vector3D & other) const
- Producto escalar
-
inline Vector3D operator ^(const Vector3D & other) const
- Producto vectorial
-
inline Vector3D& operator ^=(const Vector3D & other)
- Producto vectorial
-
inline bool operator==(const Vector3D &other) const
-
inline bool operator!=(const Vector3D &other) const
-
inline double Length() const
- Devuelve el módulo del vector
-
inline double Length2() const
- Devuelve el módulo del vector al cuadrado
Documentation
Vector3D& Zero(void)
Vector3D()
- Constructors / Destructors
Vector3D(double X, double Y, double Z)
virtual ~Vector3D()
inline Vector3D& operator=(const Vector3D& other)
- Operator overloads
inline Vector3D operator+(const Vector3D& other) const
inline Vector3D& operator+=(const Vector3D& other)
inline Vector3D operator-(void) const
inline Vector3D operator-(const Vector3D& other) const
inline Vector3D& operator -=(const Vector3D& other)
inline Vector3D operator/(const double other) const
inline Vector3D& operator/=(const double other)
inline Vector3D operator*(const double other) const
inline Vector3D& operator*=(const double other)
inline double operator *(const Vector3D& other) const
inline Vector3D operator^(const Vector3D &other) const
- Dot product
inline Vector3D& operator^=(const Vector3D &other)
- Cross product
void Set(double X, double Y, double Z)
- Other public methods
void SetElement(int i, double val)
double GetElement(int i) const
double Angle(const Vector3D &v) const
Vector3D NormalizeV(void) const
- Angle between this vector and v(in radians)
void Normalize(void)
bool IsNormalized(void) const
inline double Length(void) const
inline double Length2(void) const
void Randomize(double R)
- =lenght^2
void Out(char* c) const
int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
string GetXMLnode(string label) const
double x
- Public data members
double y
double z
inline Vector3D& operator =(const Vector3D & other)
- Igualdad vectorial
inline Vector3D operator +(const Vector3D& other) const
- Suma vectorial
inline Vector3D& operator +=(const Vector3D & other)
- Suma vectorial
inline Vector3D& operator -=(const Vector3D & other)
- Resta de vectores
inline Vector3D operator -() const
- Resta de vectores
inline Vector3D operator -(const Vector3D& other) const
- Resta de vectores
inline Vector3D operator /(const double other) const
- División del vector por un escalar
inline Vector3D& operator /=(const double other)
- División del vector por un escalar
inline Vector3D operator *(const double other) const
- Producto del vector con un escalar
inline Vector3D& operator *=(const double other)
- Producto del vector con un escalar
inline double operator *(const Vector3D & other) const
- Producto escalar
inline Vector3D operator ^(const Vector3D & other) const
- Producto vectorial
inline Vector3D& operator ^=(const Vector3D & other)
- Producto vectorial
inline bool operator==(const Vector3D &other) const
inline bool operator!=(const Vector3D &other) const
inline double Length() const
- Devuelve el módulo del vector
inline double Length2() const
- Devuelve el módulo del vector al cuadrado
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.