#include <CCollisionSpheresGeometry.h>
Public Member Functions | |
cCollisionSpheresEdge () | |
Constructor of cCollisionSpheresEdge. | |
void | initialize (cCollisionSpheresPoint *a_a, cCollisionSpheresPoint *a_b) |
const cVector3d & | getCenter () const |
Return the center of the edge. | |
double | getRadius () const |
Return the radius of the edge. | |
Private Attributes | |
cCollisionSpheresPoint * | m_end [2] |
The two vertices of the edge. | |
cVector3d | m_center |
The center of the edge. | |
cVector3d | m_d |
The distance between the vertices. | |
double | m_D |
The 2-norm of the edge. |
void cCollisionSpheresEdge::initialize | ( | cCollisionSpheresPoint * | a_a, | |
cCollisionSpheresPoint * | a_b | |||
) |
Constructor of cCollisionSpheresEdge.
a_a | First vertex of the edge. | |
a_b | Second vertex of the edge. |