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

Teddy::SpaceGame::Ellipse Class Reference

#include <Atmosphere.h>

List of all members.

Public Attributes

Matrix A
Vector B
float C


Detailed Description

Ellipse is X^T A X + B^T X + C = 0 where

A is symmetric 2x2 B and X are 2x1 C is a scalar

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

Definition at line 71 of file Atmosphere.h.


Member Data Documentation

Matrix Teddy::SpaceGame::Ellipse::A
 

Definition at line 73 of file Atmosphere.h.

Vector Teddy::SpaceGame::Ellipse::B
 

Definition at line 74 of file Atmosphere.h.

float Teddy::SpaceGame::Ellipse::C
 

Definition at line 75 of file Atmosphere.h.


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