CrystalSpace

Public API Reference

csEllipsoid Class Reference
[Geometry utilities]

This class represents an ellipsoid. More...

#include <csgeom/sphere.h>

List of all members.

Public Member Functions

 csEllipsoid (const csEllipsoid &s)
 Copy Constructor.
 csEllipsoid (const csVector3 &center, const csVector3 &radius)
 Create a new ellipsoid.
 csEllipsoid ()
 Create a new empty ellipsoid at (0,0,0).
const csVector3GetCenter () const
 Get the center of this ellipsoid.
csVector3GetCenter ()
 Get the center of this ellipsoid.
const csVector3GetRadius () const
 Get the radius of this ellipsoid.
csVector3GetRadius ()
 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

csEllipsoid::csEllipsoid (  )  [inline]

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

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

Get the center of this ellipsoid.

Definition at line 126 of file sphere.h.

csVector3& csEllipsoid::GetCenter (  )  [inline]

Get the center of this ellipsoid.

Definition at line 124 of file sphere.h.

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

Get the radius of this ellipsoid.

Definition at line 132 of file sphere.h.

csVector3& csEllipsoid::GetRadius (  )  [inline]

Get the radius of this ellipsoid.

Definition at line 130 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.1 by doxygen 1.6.1