Public Member Functions | Protected Types | Protected Attributes

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

#include <gjk_cylinder.h>

List of all members.

Public Member Functions

T const & half_height () const
Thalf_height ()
T const & radius () const
Tradius ()
 Cylinder ()
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_half_height
 The half height of the cylinder. Default value is one.
T m_radius
 The radius of the cylinder. The default value is one.

Detailed Description

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

A Cylinder.


Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename math_types>
T const& OpenTissue::gjk::Cylinder< math_types >::half_height (  )  const [inline]

Get Cylinder Half height.

Returns:
A reference to the cylinder half height.
template<typename math_types>
T& OpenTissue::gjk::Cylinder< math_types >::half_height (  )  [inline]
template<typename math_types>
V OpenTissue::gjk::Cylinder< math_types >::operator() ( V const &  v  )  const [inline]
template<typename math_types>
T const& OpenTissue::gjk::Cylinder< math_types >::radius (  )  const [inline]

Get Cylinder radius.

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

Member Data Documentation

template<typename math_types>
T OpenTissue::gjk::Cylinder< math_types >::m_half_height [protected]

The half height of the cylinder. Default value is one.

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

The radius of the cylinder. The default value is one.


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