Public Member Functions | Public Attributes
ConvexDecomposition::Vector2d< Type > Class Template Reference

#include <cd_vector.h>

List of all members.

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* (Vector2d a) const
Vector2d operator* (Type c) 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
const Type * Ptr () const
Type * Ptr ()
void Reflection (Vector2d &a, Vector2d &b)
void Set (Type a, Type b)
void SetX (Type t)
void SetY (Type t)
 Vector2d (void)
 Vector2d (const Vector2d &a)
 Vector2d (const double *t)
 Vector2d (Type a, Type b)
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

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

Definition at line 905 of file cd_vector.h.

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

Definition at line 907 of file cd_vector.h.

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

Definition at line 913 of file cd_vector.h.

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

Definition at line 920 of file cd_vector.h.


Member Function Documentation

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.

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

Definition at line 1081 of file cd_vector.h.

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

Definition at line 1105 of file cd_vector.h.

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

Definition at line 1013 of file cd_vector.h.

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

Definition at line 1089 of file cd_vector.h.

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

Definition at line 1097 of file cd_vector.h.

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

Definition at line 1071 of file cd_vector.h.

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

Definition at line 1054 of file cd_vector.h.

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

Definition at line 1157 of file cd_vector.h.

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

Definition at line 1066 of file cd_vector.h.

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

Definition at line 1049 of file cd_vector.h.

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

Definition at line 1141 of file cd_vector.h.

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

Definition at line 1018 of file cd_vector.h.

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

Definition at line 1019 of file cd_vector.h.

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

Definition at line 1061 of file cd_vector.h.

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

Definition at line 1076 of file cd_vector.h.

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.

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

Definition at line 1044 of file cd_vector.h.

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

Definition at line 1036 of file cd_vector.h.

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

Definition at line 1125 of file cd_vector.h.

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

Definition at line 963 of file cd_vector.h.

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

Definition at line 988 of file cd_vector.h.

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

Definition at line 995 of file cd_vector.h.

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

Definition at line 943 of file cd_vector.h.

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

Definition at line 969 of file cd_vector.h.

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

Definition at line 929 of file cd_vector.h.

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

Definition at line 976 of file cd_vector.h.

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

Definition at line 983 of file cd_vector.h.

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

Definition at line 936 of file cd_vector.h.

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

Definition at line 1005 of file cd_vector.h.

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

Definition at line 950 of file cd_vector.h.

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

Definition at line 957 of file cd_vector.h.

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

Definition at line 926 of file cd_vector.h.

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

Definition at line 927 of file cd_vector.h.

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

Definition at line 1024 of file cd_vector.h.

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

Definition at line 1021 of file cd_vector.h.

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

Definition at line 1022 of file cd_vector.h.

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

Definition at line 1030 of file cd_vector.h.


Member Data Documentation

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

Definition at line 1171 of file cd_vector.h.

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 Thu Feb 11 2016 22:42:23