Public Member Functions | Public Attributes | List of all members
ConvexDecomposition::Vector2d< Type > Class Template Reference

#include <cd_vector.h>

Public Member Functions

void Cross (const Vector2d< Type > &a, const Vector2d< Type > &b)
 
Type Distance (const Vector2d &a) const
 
Type Distance2 (Vector2d &a)
 
Type Dot (const Vector2d< Type > &a) const
 
Type FastDistance (const Vector2d &a) const
 
Type FasterDistance (const Vector2d &a) const
 
Type FasterLength (void) const
 
Type fastermagnitude (void) const
 
Type FasterNormalize (void)
 
Type FastLength (void) const
 
Type fastmagnitude (void) const
 
Type FastNormalize (void)
 
Type GetX (void) const
 
Type GetY (void) const
 
Type Length (void) const
 
Type Length2 (void)
 
void Lerp (const Vector2d< Type > &from, const Vector2d< Type > &to, double slerp)
 
Type magnitude (void) const
 
Vector2d negative (void) const
 
Type Normalize (void)
 
bool operator!= (const Vector2d &a) const
 
Vector2d operator* (Type c) const
 
Vector2d operator* (Vector2d a) const
 
Vector2doperator*= (const Vector2d &a)
 
Vector2d operator+ (Vector2d a) const
 
Vector2doperator+= (const Vector2d &a)
 
Vector2d operator- (Vector2d a) const
 
Vector2d operator- (void) const
 
Vector2doperator-= (const Vector2d &a)
 
Vector2d operator/ (Vector2d a) const
 
Vector2doperator/= (const Vector2d &a)
 
bool operator== (const Vector2d< Type > &a) const
 
Type * Ptr ()
 
const Type * Ptr () const
 
void Reflection (Vector2d &a, Vector2d &b)
 
void Set (Type a, Type b)
 
void SetX (Type t)
 
void SetY (Type t)
 
 Vector2d (const double *t)
 
 Vector2d (const Vector2d &a)
 
 Vector2d (Type a, Type b)
 
 Vector2d (void)
 
void Zero (void)
 

Public Attributes

Type x
 
Type y
 

Detailed Description

template<class Type>
class ConvexDecomposition::Vector2d< Type >

Definition at line 902 of file cd_vector.h.

Constructor & Destructor Documentation

◆ Vector2d() [1/4]

template<class Type >
ConvexDecomposition::Vector2d< Type >::Vector2d ( void  )
inline

Definition at line 905 of file cd_vector.h.

◆ Vector2d() [2/4]

template<class Type >
ConvexDecomposition::Vector2d< Type >::Vector2d ( const Vector2d< Type > &  a)
inline

Definition at line 907 of file cd_vector.h.

◆ Vector2d() [3/4]

template<class Type >
ConvexDecomposition::Vector2d< Type >::Vector2d ( const double *  t)
inline

Definition at line 913 of file cd_vector.h.

◆ Vector2d() [4/4]

template<class Type >
ConvexDecomposition::Vector2d< Type >::Vector2d ( Type  a,
Type  b 
)
inline

Definition at line 920 of file cd_vector.h.

Member Function Documentation

◆ Cross()

template<class Type >
void ConvexDecomposition::Vector2d< Type >::Cross ( const Vector2d< Type > &  a,
const Vector2d< Type > &  b 
)
inline

Definition at line 1119 of file cd_vector.h.

◆ Distance()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::Distance ( const Vector2d< Type > &  a) const
inline

Definition at line 1081 of file cd_vector.h.

◆ Distance2()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::Distance2 ( Vector2d< Type > &  a)
inline

Definition at line 1105 of file cd_vector.h.

◆ Dot()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::Dot ( const Vector2d< Type > &  a) const
inline

Definition at line 1013 of file cd_vector.h.

◆ FastDistance()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::FastDistance ( const Vector2d< Type > &  a) const
inline

Definition at line 1089 of file cd_vector.h.

◆ FasterDistance()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::FasterDistance ( const Vector2d< Type > &  a) const
inline

Definition at line 1097 of file cd_vector.h.

◆ FasterLength()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::FasterLength ( void  ) const
inline

Definition at line 1071 of file cd_vector.h.

◆ fastermagnitude()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::fastermagnitude ( void  ) const
inline

Definition at line 1054 of file cd_vector.h.

◆ FasterNormalize()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::FasterNormalize ( void  )
inline

Definition at line 1157 of file cd_vector.h.

◆ FastLength()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::FastLength ( void  ) const
inline

Definition at line 1066 of file cd_vector.h.

◆ fastmagnitude()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::fastmagnitude ( void  ) const
inline

Definition at line 1049 of file cd_vector.h.

◆ FastNormalize()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::FastNormalize ( void  )
inline

Definition at line 1141 of file cd_vector.h.

◆ GetX()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::GetX ( void  ) const
inline

Definition at line 1018 of file cd_vector.h.

◆ GetY()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::GetY ( void  ) const
inline

Definition at line 1019 of file cd_vector.h.

◆ Length()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::Length ( void  ) const
inline

Definition at line 1061 of file cd_vector.h.

◆ Length2()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::Length2 ( void  )
inline

Definition at line 1076 of file cd_vector.h.

◆ Lerp()

template<class Type >
void ConvexDecomposition::Vector2d< Type >::Lerp ( const Vector2d< Type > &  from,
const Vector2d< Type > &  to,
double  slerp 
)
inline

Definition at line 1112 of file cd_vector.h.

◆ magnitude()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::magnitude ( void  ) const
inline

Definition at line 1044 of file cd_vector.h.

◆ negative()

template<class Type >
Vector2d ConvexDecomposition::Vector2d< Type >::negative ( void  ) const
inline

Definition at line 1036 of file cd_vector.h.

◆ Normalize()

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::Normalize ( void  )
inline

Definition at line 1125 of file cd_vector.h.

◆ operator!=()

template<class Type >
bool ConvexDecomposition::Vector2d< Type >::operator!= ( const Vector2d< Type > &  a) const
inline

Definition at line 963 of file cd_vector.h.

◆ operator*() [1/2]

template<class Type >
Vector2d ConvexDecomposition::Vector2d< Type >::operator* ( Type  c) const
inline

Definition at line 995 of file cd_vector.h.

◆ operator*() [2/2]

template<class Type >
Vector2d ConvexDecomposition::Vector2d< Type >::operator* ( Vector2d< Type >  a) const
inline

Definition at line 988 of file cd_vector.h.

◆ operator*=()

template<class Type >
Vector2d& ConvexDecomposition::Vector2d< Type >::operator*= ( const Vector2d< Type > &  a)
inline

Definition at line 943 of file cd_vector.h.

◆ operator+()

template<class Type >
Vector2d ConvexDecomposition::Vector2d< Type >::operator+ ( Vector2d< Type >  a) const
inline

Definition at line 969 of file cd_vector.h.

◆ operator+=()

template<class Type >
Vector2d& ConvexDecomposition::Vector2d< Type >::operator+= ( const Vector2d< Type > &  a)
inline

Definition at line 929 of file cd_vector.h.

◆ operator-() [1/2]

template<class Type >
Vector2d ConvexDecomposition::Vector2d< Type >::operator- ( Vector2d< Type >  a) const
inline

Definition at line 976 of file cd_vector.h.

◆ operator-() [2/2]

template<class Type >
Vector2d ConvexDecomposition::Vector2d< Type >::operator- ( void  ) const
inline

Definition at line 983 of file cd_vector.h.

◆ operator-=()

template<class Type >
Vector2d& ConvexDecomposition::Vector2d< Type >::operator-= ( const Vector2d< Type > &  a)
inline

Definition at line 936 of file cd_vector.h.

◆ operator/()

template<class Type >
Vector2d ConvexDecomposition::Vector2d< Type >::operator/ ( Vector2d< Type >  a) const
inline

Definition at line 1005 of file cd_vector.h.

◆ operator/=()

template<class Type >
Vector2d& ConvexDecomposition::Vector2d< Type >::operator/= ( const Vector2d< Type > &  a)
inline

Definition at line 950 of file cd_vector.h.

◆ operator==()

template<class Type >
bool ConvexDecomposition::Vector2d< Type >::operator== ( const Vector2d< Type > &  a) const
inline

Definition at line 957 of file cd_vector.h.

◆ Ptr() [1/2]

template<class Type >
Type* ConvexDecomposition::Vector2d< Type >::Ptr ( )
inline

Definition at line 927 of file cd_vector.h.

◆ Ptr() [2/2]

template<class Type >
const Type* ConvexDecomposition::Vector2d< Type >::Ptr ( ) const
inline

Definition at line 926 of file cd_vector.h.

◆ Reflection()

template<class Type >
void ConvexDecomposition::Vector2d< Type >::Reflection ( Vector2d< Type > &  a,
Vector2d< Type > &  b 
)

◆ Set()

template<class Type >
void ConvexDecomposition::Vector2d< Type >::Set ( Type  a,
Type  b 
)
inline

Definition at line 1024 of file cd_vector.h.

◆ SetX()

template<class Type >
void ConvexDecomposition::Vector2d< Type >::SetX ( Type  t)
inline

Definition at line 1021 of file cd_vector.h.

◆ SetY()

template<class Type >
void ConvexDecomposition::Vector2d< Type >::SetY ( Type  t)
inline

Definition at line 1022 of file cd_vector.h.

◆ Zero()

template<class Type >
void ConvexDecomposition::Vector2d< Type >::Zero ( void  )
inline

Definition at line 1030 of file cd_vector.h.

Member Data Documentation

◆ x

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::x

Definition at line 1171 of file cd_vector.h.

◆ y

template<class Type >
Type ConvexDecomposition::Vector2d< Type >::y

Definition at line 1175 of file cd_vector.h.


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


convex_decomposition
Author(s): John W. Ratcliff
autogenerated on Wed Mar 2 2022 00:05:00