EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GVector Class Reference

#include "gpoint.h"

Inheritance diagram for GVector:
Collaboration diagram for GVector:

Public Member Functions

 GVector ()
 
 GVector (Ga::GaFloat v)
 
 GVector (const Ga::GaFloat *v)
 
 GVector (Ga::GaFloat X, Ga::GaFloat Y, Ga::GaFloat Z)
 
 GVector (const GPoint &oth)
 
 GVector (const Ga::GaVec3 &oth)
 
 GVector (const GPoint &from, const GPoint &to)
 
- Public Member Functions inherited from Ga::GaVec3
 GaVec3 (const Parameter &oth)
 
GaExpInl GaVec3 ()
 
GaExpInl GaVec3 (GaFloat v)
 
GaExpInl GaVec3 (const GaFloat *v)
 
GaExpInl GaVec3 (GaFloat X, GaFloat Y, GaFloat Z)
 
GaExpInl GaVec3 (const GaVec3 &oth)
 
GaExpInl GaVec3 operator- (const GaVec3 &oth) const
 
GaExpInl GaVec3 operator* (GaFloat s) const
 
GaExpInl GaVec3 operator/ (GaFloat s) const
 
GaExpInl GaVec3 operator* (const GaVec3 &oth) const
 
GaExpInl GaVec3operator= (const GaVec3 &oth)
 
GaExpInl bool operator!= (const GaVec3 &oth) const
 
GaExpInl bool operator== (const GaVec3 &oth) const
 
GaExpInl GaVec3 operator+ (const GaVec3 &oth) const
 
GaExpInl GaVec3operator+= (const GaVec3 &oth)
 
GaExpInl GaVec3operator-= (const GaVec3 &oth)
 
GaExpInl GaVec3operator*= (GaFloat f)
 
GaExpInl GaVec3operator/= (GaFloat f)
 
GaExpInl GaVec3operator*= (const GaVec3 &oth)
 
GaExpInl GaVec3 crossProduct (const GaVec3 &oth) const
 
GaExpInl GaFloat dotProduct (const GaVec3 &oth) const
 
GaExpInl GaFloat lengthSquared () const
 
GaExpInl GaFloat length () const
 
GaExpInl GaFloat distance (const GaVec3 &oth) const
 
GaExpInl GaFloat normalize ()
 
GaFloat angle (float ax, float ay, float bx, float by)
 
GaExpInl GaFloat angle (const Ga::GaVec3 oth) const
 
GaVec3 slerp (Ga::GaVec3 v0, Ga::GaVec3 v1, double t)
 
GaExpInl bool isZero () const
 
GaExpInl bool isNotZero () const
 
GaExpInl bool isNaN () const
 
GaExpInl bool isInf () const
 
GaVec3 rotationTo (const Ga::GaVec3 &pos) const
 
GaVec3operator= (const Parameter &oth)
 

Additional Inherited Members

- Public Attributes inherited from Ga::GaVec3
GaFloat x
 
GaFloat y
 
GaFloat z
 

Detailed Description

Definition at line 70 of file gpoint.h.

Constructor & Destructor Documentation

GVector::GVector ( )
inline

Definition at line 72 of file gpoint.h.

72 :Ga::GaVec3(){}
GVector::GVector ( Ga::GaFloat  v)
inline

Definition at line 73 of file gpoint.h.

73 :Ga::GaVec3(v){}
GVector::GVector ( const Ga::GaFloat v)
inline

Definition at line 74 of file gpoint.h.

74 :Ga::GaVec3(v){}
GVector::GVector ( Ga::GaFloat  X,
Ga::GaFloat  Y,
Ga::GaFloat  Z 
)
inline

Definition at line 75 of file gpoint.h.

75 :Ga::GaVec3(X, Y, Z){}
GVector::GVector ( const GPoint oth)
inline

Definition at line 76 of file gpoint.h.

76 :Ga::GaVec3(oth){}
GVector::GVector ( const Ga::GaVec3 oth)
inline

Definition at line 77 of file gpoint.h.

77 :Ga::GaVec3(oth){}
GVector::GVector ( const GPoint from,
const GPoint to 
)
inline

Definition at line 78 of file gpoint.h.

79  : Ga::GaVec3( (to.x-from.x), (to.y-from.y), (to.z-from.z) ) {}
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

The documentation for this class was generated from the following file: