CrystalSpace

Public API Reference

Public Member Functions
csEllipsoid Class Reference

This class represents an ellipsoid. More...

#include <csgeom/sphere.h>

List of all members.

Public Member Functions

 csEllipsoid ()
 Create a new empty ellipsoid at (0,0,0).
 csEllipsoid (const csVector3 &center, const csVector3 &radius)
 Create a new ellipsoid.
 csEllipsoid (const csEllipsoid &s)
 Copy Constructor.
csVector3 & GetCenter ()
 Get the center of this ellipsoid.
const csVector3 & GetCenter () const
 Get the center of this ellipsoid.
csVector3 & GetRadius ()
 Get the radius of this ellipsoid.
const csVector3 & GetRadius () const
 Get the radius of this ellipsoid.
void SetCenter (const csVector3 &c)
 Set the center of this ellipsoid.
void SetRadius (const csVector3 &r)
 Set the radius of this ellipsoid.

Detailed Description

This class represents an ellipsoid.

Definition at line 99 of file sphere.h.


Constructor & Destructor Documentation

Create a new empty ellipsoid at (0,0,0).

Definition at line 107 of file sphere.h.

csEllipsoid::csEllipsoid ( const csVector3 &  center,
const csVector3 &  radius 
) [inline]

Create a new ellipsoid.

Definition at line 114 of file sphere.h.

csEllipsoid::csEllipsoid ( const csEllipsoid &  s) [inline]

Copy Constructor.

Definition at line 121 of file sphere.h.


Member Function Documentation

Get the center of this ellipsoid.

Definition at line 124 of file sphere.h.

const csVector3& csEllipsoid::GetCenter ( ) const [inline]

Get the center of this ellipsoid.

Definition at line 126 of file sphere.h.

Get the radius of this ellipsoid.

Definition at line 130 of file sphere.h.

const csVector3& csEllipsoid::GetRadius ( ) const [inline]

Get the radius of this ellipsoid.

Definition at line 132 of file sphere.h.

void csEllipsoid::SetCenter ( const csVector3 &  c) [inline]

Set the center of this ellipsoid.

Definition at line 128 of file sphere.h.

void csEllipsoid::SetRadius ( const csVector3 &  r) [inline]

Set the radius of this ellipsoid.

Definition at line 134 of file sphere.h.


The documentation for this class was generated from the following file:

Generated for Crystal Space 2.0 by doxygen 1.7.6.1