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
idVectorSubset< type, dimension > Class Template Reference

#include <VectorSet.h>

Public Member Functions

 idVectorSubset (void)
 
 idVectorSubset (const type &mins, const type &maxs, const int boxHashSize, const int initialSize)
 
size_t Allocated (void) const
 
size_t Size (void) const
 
void Init (const type &mins, const type &maxs, const int boxHashSize, const int initialSize)
 
void Clear (void)
 
int FindVector (const type *vectorList, const int vectorNum, const float epsilon)
 

Private Attributes

idHashIndex hash
 
type mins
 
type maxs
 
int boxHashSize
 
float boxInvSize [dimension]
 
float boxHalfSize [dimension]
 

Detailed Description

template<class type, int dimension>
class idVectorSubset< type, dimension >

Definition at line 167 of file VectorSet.h.

Constructor & Destructor Documentation

template<class type , int dimension>
ID_INLINE idVectorSubset< type, dimension >::idVectorSubset ( void  )

Definition at line 193 of file VectorSet.h.

template<class type , int dimension>
ID_INLINE idVectorSubset< type, dimension >::idVectorSubset ( const type mins,
const type maxs,
const int  boxHashSize,
const int  initialSize 
)

Definition at line 201 of file VectorSet.h.

Member Function Documentation

template<class type, int dimension>
size_t idVectorSubset< type, dimension >::Allocated ( void  ) const
inline

Definition at line 173 of file VectorSet.h.

template<class type , int dimension>
ID_INLINE void idVectorSubset< type, dimension >::Clear ( void  )

Definition at line 224 of file VectorSet.h.

template<class type , int dimension>
ID_INLINE int idVectorSubset< type, dimension >::FindVector ( const type vectorList,
const int  vectorNum,
const float  epsilon 
)

Definition at line 230 of file VectorSet.h.

template<class type , int dimension>
ID_INLINE void idVectorSubset< type, dimension >::Init ( const type mins,
const type maxs,
const int  boxHashSize,
const int  initialSize 
)

Definition at line 206 of file VectorSet.h.

template<class type, int dimension>
size_t idVectorSubset< type, dimension >::Size ( void  ) const
inline

Definition at line 175 of file VectorSet.h.

Member Data Documentation

template<class type, int dimension>
float idVectorSubset< type, dimension >::boxHalfSize[dimension]
private

Definition at line 189 of file VectorSet.h.

template<class type, int dimension>
int idVectorSubset< type, dimension >::boxHashSize
private

Definition at line 187 of file VectorSet.h.

template<class type, int dimension>
float idVectorSubset< type, dimension >::boxInvSize[dimension]
private

Definition at line 188 of file VectorSet.h.

template<class type, int dimension>
idHashIndex idVectorSubset< type, dimension >::hash
private

Definition at line 184 of file VectorSet.h.

template<class type, int dimension>
type idVectorSubset< type, dimension >::maxs
private

Definition at line 186 of file VectorSet.h.

template<class type, int dimension>
type idVectorSubset< type, dimension >::mins
private

Definition at line 185 of file VectorSet.h.


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