csEllipsoid Class Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
csEllipsoid Class Reference
Geometry utilities

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

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

csVector3& csEllipsoid::GetCenter | ( |  | ) | `[inline]`

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.

csVector3& csEllipsoid::GetRadius | ( |  | ) | `[inline]`

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:

- csgeom/sphere.h