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

Teddy::SpaceGame::Ellipsoid Class Reference

#include <Atmosphere.h>

List of all members.

Public Attributes

Matrix A
Vector B
float C


Detailed Description

Ellipsoid is X^T A X + B^T X + C = 0

A is symmetric 3x3 B and X are 3x1 C is a scalar

Since A is symmetric, it is not necessary to store all 9 values, but I use it for convenience of doing matrix/vector arithmetic.

Definition at line 53 of file Atmosphere.h.


Member Data Documentation

Matrix Teddy::SpaceGame::Ellipsoid::A
 

Definition at line 55 of file Atmosphere.h.

Vector Teddy::SpaceGame::Ellipsoid::B
 

Definition at line 56 of file Atmosphere.h.

float Teddy::SpaceGame::Ellipsoid::C
 

Definition at line 57 of file Atmosphere.h.


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