CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 89 of file sphere.h.


Constructor & Destructor Documentation

csEllipsoid::csEllipsoid  )  [inline]
 

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

Definition at line 97 of file sphere.h.

csEllipsoid::csEllipsoid const csVector3 center,
const csVector3 radius
[inline]
 

Create a new ellipsoid.

Definition at line 104 of file sphere.h.

csEllipsoid::csEllipsoid const csEllipsoid s  )  [inline]
 

Copy Constructor.

Definition at line 111 of file sphere.h.

References center, and radius.


Member Function Documentation

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

Get the center of this ellipsoid.

Definition at line 116 of file sphere.h.

csVector3& csEllipsoid::GetCenter  )  [inline]
 

Get the center of this ellipsoid.

Definition at line 114 of file sphere.h.

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

Get the radius of this ellipsoid.

Definition at line 122 of file sphere.h.

csVector3& csEllipsoid::GetRadius  )  [inline]
 

Get the radius of this ellipsoid.

Definition at line 120 of file sphere.h.

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

Set the center of this ellipsoid.

Definition at line 118 of file sphere.h.

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

Set the radius of this ellipsoid.

Definition at line 124 of file sphere.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.4.4