Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

gbmath::geometry::Capsule Class Reference

Capsule defined by a starting position, path vector, and a radius. More...

#include <capsule.h>

List of all members.

Public Methods

Constructors
 Capsule (const V3 &start, const V3 &path, float radius)
 .

Initializers
void Set (const V3 &start, const V3 &path, float radius)
 .

void SetStart (const V3 &start)
 .

void SetPath (const V3 &path)
 .

void SetRadius (float radius)
 .

void SetEnd (const V3 &end)
 .

Accessors
V3 GetStart ()
 .

const V3GetStart () const
 .

V3 GetPath ()
 .

const V3GetPath () const
 .

float GetRadius () const
 .

V3 GetDirection () const
 .

V3 GetEnd () const
 .

float GetLength () const
 .


Detailed Description

Capsule defined by a starting position, path vector, and a radius.

Looks like a cylinder with caps.

Remarks:
Refer to 3D Game Engine Design by Eberly.


The documentation for this class was generated from the following file:
Generated on Mon Sep 2 14:52:34 2002 for GunBuster Engine by doxygen1.2.17