cCollisionSpheresEdge Class Reference

cCollisionSpheresEdge defines edges of shape primitives. More...

#include <CCollisionSpheresGeometry.h>

List of all members.

Public Member Functions

 cCollisionSpheresEdge ()
 Constructor of cCollisionSpheresEdge.
void initialize (cCollisionSpheresPoint *a_a, cCollisionSpheresPoint *a_b)
const cVector3dgetCenter () const
 Return the center of the edge.
double getRadius () const
 Return the radius of the edge.

Private Attributes

cCollisionSpheresPointm_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.


Detailed Description

cCollisionSpheresEdge defines edges of shape primitives.


Member Function Documentation

void cCollisionSpheresEdge::initialize ( cCollisionSpheresPoint a_a,
cCollisionSpheresPoint a_b 
)

Constructor of cCollisionSpheresEdge.

Parameters:
a_a First vertex of the edge.
a_b Second vertex of the edge.


The documentation for this class was generated from the following files:
Generated on Mon Jun 11 09:41:46 2007 for CHAI 3D by  doxygen 1.5.2