doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
idPluecker Class Reference

#include <Pluecker.h>

Public Member Functions

 idPluecker (void)
 
 idPluecker (const float *a)
 
 idPluecker (const idVec3 &start, const idVec3 &end)
 
 idPluecker (const float a1, const float a2, const float a3, const float a4, const float a5, const float a6)
 
float operator[] (const int index) const
 
floatoperator[] (const int index)
 
idPluecker operator- () const
 
idPluecker operator* (const float a) const
 
idPluecker operator/ (const float a) const
 
float operator* (const idPluecker &a) const
 
idPluecker operator- (const idPluecker &a) const
 
idPluecker operator+ (const idPluecker &a) const
 
idPlueckeroperator*= (const float a)
 
idPlueckeroperator/= (const float a)
 
idPlueckeroperator+= (const idPluecker &a)
 
idPlueckeroperator-= (const idPluecker &a)
 
bool Compare (const idPluecker &a) const
 
bool Compare (const idPluecker &a, const float epsilon) const
 
bool operator== (const idPluecker &a) const
 
bool operator!= (const idPluecker &a) const
 
void Set (const float a1, const float a2, const float a3, const float a4, const float a5, const float a6)
 
void Zero (void)
 
void FromLine (const idVec3 &start, const idVec3 &end)
 
void FromRay (const idVec3 &start, const idVec3 &dir)
 
bool FromPlanes (const idPlane &p1, const idPlane &p2)
 
bool ToLine (idVec3 &start, idVec3 &end) const
 
bool ToRay (idVec3 &start, idVec3 &dir) const
 
void ToDir (idVec3 &dir) const
 
float PermutedInnerProduct (const idPluecker &a) const
 
float Distance3DSqr (const idPluecker &a) const
 
float Length (void) const
 
float LengthSqr (void) const
 
idPluecker Normalize (void) const
 
float NormalizeSelf (void)
 
int GetDimension (void) const
 
const floatToFloatPtr (void) const
 
floatToFloatPtr (void)
 
const char * ToString (int precision=2) const
 

Private Attributes

float p [6]
 

Detailed Description

Definition at line 40 of file Pluecker.h.

Constructor & Destructor Documentation

ID_INLINE idPluecker::idPluecker ( void  )

Definition at line 95 of file Pluecker.h.

ID_INLINE idPluecker::idPluecker ( const float a)
explicit

Definition at line 98 of file Pluecker.h.

ID_INLINE idPluecker::idPluecker ( const idVec3 start,
const idVec3 end 
)
explicit

Definition at line 102 of file Pluecker.h.

ID_INLINE idPluecker::idPluecker ( const float  a1,
const float  a2,
const float  a3,
const float  a4,
const float  a5,
const float  a6 
)
explicit

Definition at line 106 of file Pluecker.h.

Member Function Documentation

ID_INLINE bool idPluecker::Compare ( const idPluecker a) const

Definition at line 195 of file Pluecker.h.

ID_INLINE bool idPluecker::Compare ( const idPluecker a,
const float  epsilon 
) const

Definition at line 200 of file Pluecker.h.

float idPluecker::Distance3DSqr ( const idPluecker a) const

Definition at line 62 of file Pluecker.cpp.

ID_INLINE void idPluecker::FromLine ( const idVec3 start,
const idVec3 end 
)

Definition at line 249 of file Pluecker.h.

bool idPluecker::FromPlanes ( const idPlane p1,
const idPlane p2 
)

Definition at line 41 of file Pluecker.cpp.

ID_INLINE void idPluecker::FromRay ( const idVec3 start,
const idVec3 dir 
)

Definition at line 258 of file Pluecker.h.

ID_INLINE int idPluecker::GetDimension ( void  ) const

Definition at line 356 of file Pluecker.h.

ID_INLINE float idPluecker::Length ( void  ) const

Definition at line 320 of file Pluecker.h.

ID_INLINE float idPluecker::LengthSqr ( void  ) const

Definition at line 324 of file Pluecker.h.

ID_INLINE idPluecker idPluecker::Normalize ( void  ) const

Definition at line 345 of file Pluecker.h.

ID_INLINE float idPluecker::NormalizeSelf ( void  )

Definition at line 328 of file Pluecker.h.

ID_INLINE bool idPluecker::operator!= ( const idPluecker a) const

Definition at line 232 of file Pluecker.h.

ID_INLINE idPluecker idPluecker::operator* ( const float  a) const

Definition at line 127 of file Pluecker.h.

ID_INLINE float idPluecker::operator* ( const idPluecker a) const

Definition at line 131 of file Pluecker.h.

ID_INLINE idPluecker & idPluecker::operator*= ( const float  a)

Definition at line 151 of file Pluecker.h.

ID_INLINE idPluecker idPluecker::operator+ ( const idPluecker a) const

Definition at line 143 of file Pluecker.h.

ID_INLINE idPluecker & idPluecker::operator+= ( const idPluecker a)

Definition at line 175 of file Pluecker.h.

ID_INLINE idPluecker idPluecker::operator- ( ) const

Definition at line 115 of file Pluecker.h.

ID_INLINE idPluecker idPluecker::operator- ( const idPluecker a) const

Definition at line 147 of file Pluecker.h.

ID_INLINE idPluecker & idPluecker::operator-= ( const idPluecker a)

Definition at line 185 of file Pluecker.h.

ID_INLINE idPluecker idPluecker::operator/ ( const float  a) const

Definition at line 135 of file Pluecker.h.

ID_INLINE idPluecker & idPluecker::operator/= ( const float  a)

Definition at line 161 of file Pluecker.h.

ID_INLINE bool idPluecker::operator== ( const idPluecker a) const

Definition at line 228 of file Pluecker.h.

ID_INLINE float idPluecker::operator[] ( const int  index) const

Definition at line 119 of file Pluecker.h.

ID_INLINE float & idPluecker::operator[] ( const int  index)

Definition at line 123 of file Pluecker.h.

ID_INLINE float idPluecker::PermutedInnerProduct ( const idPluecker a) const

Definition at line 316 of file Pluecker.h.

ID_INLINE void idPluecker::Set ( const float  a1,
const float  a2,
const float  a3,
const float  a4,
const float  a5,
const float  a6 
)

Definition at line 236 of file Pluecker.h.

ID_INLINE void idPluecker::ToDir ( idVec3 dir) const

Definition at line 310 of file Pluecker.h.

ID_INLINE const float * idPluecker::ToFloatPtr ( void  ) const

Definition at line 360 of file Pluecker.h.

ID_INLINE float * idPluecker::ToFloatPtr ( void  )

Definition at line 364 of file Pluecker.h.

ID_INLINE bool idPluecker::ToLine ( idVec3 start,
idVec3 end 
) const

Definition at line 267 of file Pluecker.h.

ID_INLINE bool idPluecker::ToRay ( idVec3 start,
idVec3 dir 
) const

Definition at line 289 of file Pluecker.h.

const char * idPluecker::ToString ( int  precision = 2) const

Definition at line 84 of file Pluecker.cpp.

ID_INLINE void idPluecker::Zero ( void  )

Definition at line 245 of file Pluecker.h.

Member Data Documentation

float idPluecker::p[6]
private

Definition at line 89 of file Pluecker.h.


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