Public Member Functions | Protected Types | Protected Attributes

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

#include <gjk_sphere.h>

List of all members.

Public Member Functions

T const & radius () const
Tradius ()
 Sphere ()
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

T m_radius
 Radius of sphere. Default value is one.

Detailed Description

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

A Sphere.


Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename math_types>
V OpenTissue::gjk::Sphere< math_types >::operator() ( V const &  v  )  const [inline]
template<typename math_types>
T const& OpenTissue::gjk::Sphere< math_types >::radius (  )  const [inline]

Get Radius.

Returns:
A reference to the radius of the sphere.
template<typename math_types>
T& OpenTissue::gjk::Sphere< math_types >::radius (  )  [inline]

Member Data Documentation

template<typename math_types>
T OpenTissue::gjk::Sphere< math_types >::m_radius [protected]

Radius of sphere. Default value is one.


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