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
idPlaneSet Class Reference

#include <PlaneSet.h>

Inheritance diagram for idPlaneSet:
idList< idPlane >

Public Member Functions

void Clear (void)
 
int FindPlane (const idPlane &plane, const float normalEps, const float distEps)
 
- Public Member Functions inherited from idList< idPlane >
 idList (int newgranularity=16)
 
 idList (const idList< idPlane > &other)
 
 ~idList (void)
 
void Clear (void)
 
int Num (void) const
 
int NumAllocated (void) const
 
void SetGranularity (int newgranularity)
 
int GetGranularity (void) const
 
size_t Allocated (void) const
 
size_t Size (void) const
 
size_t MemoryUsed (void) const
 
idList< idPlane > & operator= (const idList< idPlane > &other)
 
const idPlaneoperator[] (int index) const
 
idPlaneoperator[] (int index)
 
void Condense (void)
 
void Resize (int newsize)
 
void Resize (int newsize, int newgranularity)
 
void SetNum (int newnum, bool resize=true)
 
void AssureSize (int newSize)
 
void AssureSize (int newSize, const idPlane &initValue)
 
void AssureSizeAlloc (int newSize, new_t *allocator)
 
idPlanePtr (void)
 
const idPlanePtr (void) const
 
idPlaneAlloc (void)
 
int Append (const idPlane &obj)
 
int Append (const idList< idPlane > &other)
 
int AddUnique (const idPlane &obj)
 
int Insert (const idPlane &obj, int index=0)
 
int FindIndex (const idPlane &obj) const
 
idPlaneFind (idPlaneconst &obj) const
 
int FindNull (void) const
 
int IndexOf (const idPlane *obj) const
 
bool RemoveIndex (int index)
 
bool Remove (const idPlane &obj)
 
void Sort (cmp_t *compare=(cmp_t *)&idListSortCompare< idPlane >)
 
void SortSubSection (int startIndex, int endIndex, cmp_t *compare=(cmp_t *)&idListSortCompare< idPlane >)
 
void Swap (idList< idPlane > &other)
 
void DeleteContents (bool clear)
 

Private Attributes

idHashIndex hash
 

Additional Inherited Members

- Public Types inherited from idList< idPlane >
typedef int cmp_t (const idPlane *, const idPlane *)
 
typedef idPlane new_t (void)
 

Detailed Description

Definition at line 40 of file PlaneSet.h.

Member Function Documentation

void idPlaneSet::Clear ( void  )
inline

Definition at line 43 of file PlaneSet.h.

ID_INLINE int idPlaneSet::FindPlane ( const idPlane plane,
const float  normalEps,
const float  distEps 
)

Definition at line 51 of file PlaneSet.h.

Member Data Documentation

idHashIndex idPlaneSet::hash
private

Definition at line 48 of file PlaneSet.h.


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