Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

maths
Class CVector2D_Maths

   in Vector2D.h

class CVector2D_Maths


Field Summary
 float X
          
 float Y
          
 
Constructor Summary
CVector2D_Maths( float x, float y )
          
CVector2D_Maths( const CVector2D_Maths& p )
          
CVector2D_Maths()
          
 
Method Summary
 float Dot( const CVector2D_Maths& a ) const
          
 operator const float*() const
          
 float Length() const
          
 float LengthSquared() const
          
 void Normalize()
          
 CVector2D_Maths operator*( float f ) const
          
 CVector2D_Maths& operator*=( float f )
          
 CVector2D_Maths operator+( const CVector2D_Maths& t ) const
          
 CVector2D_Maths& operator+=( const CVector2D_Maths& t )
          
 CVector2D_Maths operator-() const
          
 CVector2D_Maths operator-( const CVector2D_Maths& t ) const
          
 CVector2D_Maths& operator-=( const CVector2D_Maths& t )
          
 CVector2D_Maths operator/( float f ) const
          
 CVector2D_Maths& operator/=( float f )
          
 

Field Detail

X

public float X;

Y

public float Y;


Constructor Detail

CVector2D_Maths

public CVector2D_Maths( float x, float y );

CVector2D_Maths

public CVector2D_Maths( const CVector2D_Maths& p );

CVector2D_Maths

public CVector2D_Maths();


Method Detail

Dot

public float Dot( const CVector2D_Maths& a ) const;

float*

public operator const float*() const;

Length

public float Length() const;

LengthSquared

public float LengthSquared() const;

Normalize

public void Normalize();

operator*

public CVector2D_Maths operator*( float f ) const;

operator*=

public CVector2D_Maths& operator*=( float f );

operator+

public CVector2D_Maths operator+( const CVector2D_Maths& t ) const;

operator+=

public CVector2D_Maths& operator+=( const CVector2D_Maths& t );

operator-

public CVector2D_Maths operator-() const;

operator-

public CVector2D_Maths operator-( const CVector2D_Maths& t ) const;

operator-=

public CVector2D_Maths& operator-=( const CVector2D_Maths& t );

operator/

public CVector2D_Maths operator/( float f ) const;

operator/=

public CVector2D_Maths& operator/=( float f );

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD