#include <geometry_sphere.h>
typedef math_types_ OpenTissue::geometry::Sphere< math_types_ >::math_types |
typedef math_types::matrix3x3_type OpenTissue::geometry::Sphere< math_types_ >::matrix3x3_type |
typedef math_types::quaternion_type OpenTissue::geometry::Sphere< math_types_ >::quaternion_type |
typedef math_types::real_type OpenTissue::geometry::Sphere< math_types_ >::real_type |
typedef math_types::value_traits OpenTissue::geometry::Sphere< math_types_ >::value_traits |
typedef math_types::vector3_type OpenTissue::geometry::Sphere< math_types_ >::vector3_type |
virtual OpenTissue::geometry::Sphere< math_types_ >::~Sphere | ( | ) | [inline, virtual] |
OpenTissue::geometry::Sphere< math_types_ >::Sphere | ( | ) | [inline] |
OpenTissue::geometry::Sphere< math_types_ >::Sphere | ( | Sphere< math_types_ > const & | s | ) | [inline] |
OpenTissue::geometry::Sphere< math_types_ >::Sphere | ( | vector3_type const & | center_, | |
real_type const & | radius_ | |||
) | [inline, explicit] |
real_type OpenTissue::geometry::Sphere< math_types_ >::area | ( | ) | const [inline] |
vector3_type OpenTissue::geometry::Sphere< math_types_ >::center | ( | ) | const [inline] |
void OpenTissue::geometry::Sphere< math_types_ >::center | ( | vector3_type const & | value | ) | [inline] |
size_t const OpenTissue::geometry::Sphere< math_types_ >::class_id | ( | ) | const [inline, virtual] |
Query the class ID.
Reimplemented from OpenTissue::utility::ClassID< Sphere< math_types_ > >.
void OpenTissue::geometry::Sphere< math_types_ >::compute_collision_aabb | ( | vector3_type const & | r, | |
matrix3x3_type const & | , | |||
vector3_type & | min_coord, | |||
vector3_type & | max_coord | |||
) | const [inline] |
Compute Bounding Box. This method computes an axis aligned bounding box (AABB) that encloses the geometry.
r | The position of the model frame (i.e the coordinate frame the geometry lives in). | |
R | The orientation of the model frame (i.e the coordinate frame the geometry lives in). | |
min_coord | Upon return holds the minimum corner of the box. | |
max_coord | Upon return holds the maximum corner of the box. |
void OpenTissue::geometry::Sphere< math_types_ >::compute_surface_points | ( | std::vector< vector3_type > & | points | ) | const [inline] |
real_type OpenTissue::geometry::Sphere< math_types_ >::diameter | ( | ) | const [inline] |
real_type OpenTissue::geometry::Sphere< math_types_ >::evaluate | ( | vector3_type const & | x | ) | const [inline] |
real_type OpenTissue::geometry::Sphere< math_types_ >::get_distance | ( | vector3_type const & | x | ) | const [inline] |
vector3_type OpenTissue::geometry::Sphere< math_types_ >::get_support_point | ( | vector3_type const & | v | ) | const [inline] |
vector3_type OpenTissue::geometry::Sphere< math_types_ >::gradient | ( | vector3_type const & | x | ) | const [inline] |
vector3_type OpenTissue::geometry::Sphere< math_types_ >::normal | ( | vector3_type const & | x | ) | const [inline] |
real_type OpenTissue::geometry::Sphere< math_types_ >::perimeter | ( | ) | const [inline] |
void OpenTissue::geometry::Sphere< math_types_ >::radius | ( | real_type const & | value | ) | [inline] |
real_type const& OpenTissue::geometry::Sphere< math_types_ >::radius | ( | ) | const [inline] |
void OpenTissue::geometry::Sphere< math_types_ >::rotate | ( | matrix3x3_type const & | ) | [inline] |
void OpenTissue::geometry::Sphere< math_types_ >::scale | ( | real_type const & | s | ) | [inline] |
void OpenTissue::geometry::Sphere< math_types_ >::set | ( | vector3_type const & | center_, | |
real_type const & | radius_ | |||
) | [inline] |
void OpenTissue::geometry::Sphere< math_types_ >::set | ( | Sphere< math_types_ > const & | sphere_ | ) | [inline] |
real_type OpenTissue::geometry::Sphere< math_types_ >::signed_distance | ( | vector3_type const & | x | ) | const [inline] |
real_type const& OpenTissue::geometry::Sphere< math_types_ >::squared_radius | ( | ) | const [inline] |
void OpenTissue::geometry::Sphere< math_types_ >::translate | ( | vector3_type const & | T | ) | [inline] |
real_type OpenTissue::geometry::Sphere< math_types_ >::volume | ( | ) | const [inline] |
vector3_type OpenTissue::geometry::Sphere< math_types_ >::m_c [protected] |
The center of the sphere.
real_type OpenTissue::geometry::Sphere< math_types_ >::m_r [protected] |
The radius.
real_type OpenTissue::geometry::Sphere< math_types_ >::m_r_sqr [protected] |
The squared radius.