# cCollisionSpheresEdge Class Reference
[Collision Detection]

cCollisionSpheresEdge defines edges of shape primitives. More...

`#include <CCollisionSpheresGeometry.h>`

List of all members.

## Public Member Functions
| cCollisionSpheresEdge ()
| Constructor of cCollisionSpheresEdge.
| cCollisionSpheresEdge (cCollisionSpheresPoint *a_a, cCollisionSpheresPoint *a_b)
| Constructor of cCollisionSpheresEdge.
virtual | ~cCollisionSpheresEdge ()
| Destructor of cCollisionSpheresEdge.
void | initialize (cCollisionSpheresPoint *a_a, cCollisionSpheresPoint *a_b)
| Initialization.
const cVector3d & | getCenter () const
| Return the center of the edge.
double | getRadius () const
| Return the radius of the edge.

## Detailed Description

cCollisionSpheresEdge defines edges of shape primitives.

## Member Function Documentation

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

Initialization.

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:

- D:/CHAI3D/build-2-0-0/2.0.0/win32/src/collisions/CCollisionSpheresGeometry.h
- D:/CHAI3D/build-2-0-0/2.0.0/win32/src/collisions/CCollisionSpheresGeometry.cpp

CHAI3D 2.0.0 documentation
Please address any questions to support@chai3d.org
(C) 2003-2009 - CHAI 3D
All Rights Reserved.