PPL Logo

seg1dT< T > Class Template Reference

#include <bbox.h>

Inheritance diagram for seg1dT< T >:

Inheritance graph
[legend]
Collaboration diagram for seg1dT< T >:

Collaboration graph
[legend]

Public Member Functions

 seg1dT (void)
 seg1dT (T Nmin, T Nmax)
void init (T a, T b, T c)
getMin (void) const
getMax (void) const
void setMin (T m)
void setMax (T m)
seg1dempty (void)
seg1dinfinity (void)
bool isEmpty (void) const
seg1dset (T b)
seg1dset (T a, T b)
void expandMin (T b)
void expandMax (T b)
seg1dadd (T b)
seg1dadd (const seg1d &b)
seg1d getIntersection (const seg1d &b) const
seg1d getUnion (const seg1d &b) const
bool contains (T b) const
bool containsOpen (T b) const
bool containsHalf (T b) const
bool intersects (const seg1d &b) const
bool intersectsOpen (const seg1d &b) const
bool intersectsHalf (const seg1d &b) const
void pup (PUP::er &p)

Private Types

typedef seg1dT< T > seg1d

Private Attributes

min
max

Detailed Description

template<class T>
class seg1dT< T >

Definition at line 16 of file bbox.h.


Member Typedef Documentation

template<class T>
typedef seg1dT<T> seg1dT< T >::seg1d [private]

Definition at line 17 of file bbox.h.


Constructor & Destructor Documentation

template<class T>
seg1dT< T >::seg1dT ( void   )  [inline]

Definition at line 20 of file bbox.h.

template<class T>
seg1dT< T >::seg1dT ( Nmin,
Nmax 
) [inline]

Definition at line 21 of file bbox.h.


Member Function Documentation

template<class T>
void seg1dT< T >::init ( a,
b,
c 
) [inline]

Definition at line 23 of file bbox.h.

Referenced by bbox3d::bbox3d().

Here is the caller graph for this function:

template<class T>
T seg1dT< T >::getMin ( void   )  const [inline]

Definition at line 28 of file bbox.h.

Referenced by CollisionAggregator::aggregate(), CollideGrid3d::grid2world(), print(), simpleFindCollisions(), and CollideGrid3d::world2grid().

Here is the caller graph for this function:

template<class T>
T seg1dT< T >::getMax ( void   )  const [inline]

Definition at line 29 of file bbox.h.

Referenced by CollisionAggregator::aggregate(), CollideGrid3d::grid2world(), print(), and CollideGrid3d::world2grid().

Here is the caller graph for this function:

template<class T>
void seg1dT< T >::setMin ( m  )  [inline]

Definition at line 30 of file bbox.h.

template<class T>
void seg1dT< T >::setMax ( m  )  [inline]

Definition at line 31 of file bbox.h.

template<class T>
seg1d& seg1dT< T >::empty ( void   )  [inline]

Definition at line 34 of file bbox.h.

template<class T>
seg1d& seg1dT< T >::infinity ( void   )  [inline]

Definition at line 38 of file bbox.h.

template<class T>
bool seg1dT< T >::isEmpty ( void   )  const [inline]

Definition at line 42 of file bbox.h.

template<class T>
seg1d& seg1dT< T >::set ( b  )  [inline]

Definition at line 44 of file bbox.h.

template<class T>
seg1d& seg1dT< T >::set ( a,
b 
) [inline]

Definition at line 46 of file bbox.h.

template<class T>
void seg1dT< T >::expandMin ( b  )  [inline]

Definition at line 52 of file bbox.h.

Referenced by seg1dT< double >::add().

Here is the caller graph for this function:

template<class T>
void seg1dT< T >::expandMax ( b  )  [inline]

Definition at line 53 of file bbox.h.

Referenced by seg1dT< double >::add().

Here is the caller graph for this function:

template<class T>
seg1d& seg1dT< T >::add ( b  )  [inline]

Definition at line 54 of file bbox.h.

Referenced by collideVoxel::collideVoxel().

Here is the caller graph for this function:

template<class T>
seg1d& seg1dT< T >::add ( const seg1d b  )  [inline]

Definition at line 59 of file bbox.h.

template<class T>
seg1d seg1dT< T >::getIntersection ( const seg1d b  )  const [inline]

Definition at line 65 of file bbox.h.

Referenced by bbox3d::getIntersection().

Here is the caller graph for this function:

template<class T>
seg1d seg1dT< T >::getUnion ( const seg1d b  )  const [inline]

Definition at line 69 of file bbox.h.

Referenced by bbox3d::getUnion().

Here is the caller graph for this function:

template<class T>
bool seg1dT< T >::contains ( b  )  const [inline]

Definition at line 75 of file bbox.h.

Referenced by seg1dT< double >::intersects().

Here is the caller graph for this function:

template<class T>
bool seg1dT< T >::containsOpen ( b  )  const [inline]

Definition at line 80 of file bbox.h.

Referenced by seg1dT< double >::intersectsOpen().

Here is the caller graph for this function:

template<class T>
bool seg1dT< T >::containsHalf ( b  )  const [inline]

template<class T>
bool seg1dT< T >::intersects ( const seg1d b  )  const [inline]

Definition at line 89 of file bbox.h.

template<class T>
bool seg1dT< T >::intersectsOpen ( const seg1d b  )  const [inline]

Definition at line 93 of file bbox.h.

template<class T>
bool seg1dT< T >::intersectsHalf ( const seg1d b  )  const [inline]

Definition at line 97 of file bbox.h.

template<class T>
void seg1dT< T >::pup ( PUP::er p  )  [inline]

Definition at line 101 of file bbox.h.


Field Documentation

template<class T>
T seg1dT< T >::min [private]

template<class T>
T seg1dT< T >::max [private]


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

Generated on Mon Sep 21 08:29:47 2020 for Charm++ by  doxygen 1.5.5