#include <Geometry.h>
Public Member Functions | |
Line (btVector3 begin, btVector3 end) | |
Line () | |
btScalar | closest_parametric (btVector3 point) const |
Find the closest point on the line segment to the given point. | |
btScalar | closest_parametric_segment (btVector3 point) const |
Like closest_parametric but clamped to fit between the begining and the end point. | |
btVector3 | closest_point_segment (btVector3 point) const |
Plane | get_plane_including (btVector3 vector) const |
Return a plane that contains the line and the direction of vector. | |
Protected Attributes | |
btVector3 | m_begin |
btVector3 | m_end |
btVector3 | m_vector |
m_end - m_begin. | |
btScalar | m_length2 |
square of the length of m_vector. |
Definition at line 79 of file Geometry.h.
Track::Line::Line | ( | btVector3 | begin, | |
btVector3 | end | |||
) | [inline] |
Definition at line 82 of file Geometry.h.
Track::Line::Line | ( | ) | [inline] |
Definition at line 89 of file Geometry.h.
btScalar Track::Line::closest_parametric | ( | btVector3 | point | ) | const [inline] |
Find the closest point on the line segment to the given point.
point | The point to check. |
Definition at line 96 of file Geometry.h.
btScalar Track::Line::closest_parametric_segment | ( | btVector3 | point | ) | const [inline] |
Like closest_parametric but clamped to fit between the begining and the end point.
Definition at line 103 of file Geometry.h.
btVector3 Track::Line::closest_point_segment | ( | btVector3 | point | ) | const [inline] |
Definition at line 111 of file Geometry.h.
Plane Track::Line::get_plane_including | ( | btVector3 | vector | ) | const [inline] |
Return a plane that contains the line and the direction of vector.
Definition at line 117 of file Geometry.h.
btVector3 Track::Line::m_begin [protected] |
Definition at line 125 of file Geometry.h.
btVector3 Track::Line::m_end [protected] |
Definition at line 126 of file Geometry.h.
btScalar Track::Line::m_length2 [protected] |
btVector3 Track::Line::m_vector [protected] |
Generated at Mon Sep 6 00:41:18 2010 by Doxygen version 1.4.7 for Racer version svn335.