- Main Page
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

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

## 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:

- chai3d/src/collisions/CCollisionSpheresGeometry.h
- chai3d/src/collisions/CCollisionSpheresGeometry.cpp