Public Member Functions | Protected Types | Protected Attributes

OpenTissue::gjk::Box< math_types > Class Template Reference

#include <gjk_box.h>

List of all members.

Public Member Functions

V const & half_extent () const
Vhalf_extent ()
 Box ()
V operator() (V const &v) const

Protected Types

typedef math_types::real_type T
typedef math_types::vector3_type V
typedef math_types::value_traits value_traits

Protected Attributes

V m_half_extent
 Half widht extents of the box.

Detailed Description

template<typename math_types>
class OpenTissue::gjk::Box< math_types >

A Box.


Member Typedef Documentation

template<typename math_types>
typedef math_types::real_type OpenTissue::gjk::Box< math_types >::T [protected]
template<typename math_types>
typedef math_types::vector3_type OpenTissue::gjk::Box< math_types >::V [protected]
template<typename math_types>
typedef math_types::value_traits OpenTissue::gjk::Box< math_types >::value_traits [protected]

Constructor & Destructor Documentation

template<typename math_types>
OpenTissue::gjk::Box< math_types >::Box (  )  [inline]

Member Function Documentation

template<typename math_types>
V const& OpenTissue::gjk::Box< math_types >::half_extent (  )  const [inline]

Get Extents.

Returns:
A reference to a vector holding the values of the box half width extents.
template<typename math_types>
V& OpenTissue::gjk::Box< math_types >::half_extent (  )  [inline]
template<typename math_types>
V OpenTissue::gjk::Box< math_types >::operator() ( V const &  v  )  const [inline]

Member Data Documentation

template<typename math_types>
V OpenTissue::gjk::Box< math_types >::m_half_extent [protected]

Half widht extents of the box.


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