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

demeter::Vector Class Reference

An extremely basic 3D vector class. Demeter does not rely on all of the bells and whistles of most public vector classes. More...

Collaboration diagram for demeter::Vector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Vector ()
 ~Vector ()
float GetLength ()
float Normalize (float tolerance=EPSILON)
Vectoroperator= (const Vector &vector)

Public Attributes

float x
float y
float z

Detailed Description

An extremely basic 3D vector class. Demeter does not rely on all of the bells and whistles of most public vector classes.

Definition at line 106 of file CLODTerrainRenderer.


Constructor & Destructor Documentation

demeter::Vector::Vector  )  [inline]
 

Definition at line 109 of file CLODTerrainRenderer.

demeter::Vector::~Vector  )  [inline]
 

Definition at line 110 of file CLODTerrainRenderer.


Member Function Documentation

float Vector::GetLength  )  [inline]
 

Definition at line 2316 of file CLODTerrainRenderer.cpp.

Referenced by Normalize().

float Vector::Normalize float  tolerance = EPSILON  )  [inline]
 

Definition at line 2297 of file CLODTerrainRenderer.cpp.

References GetLength().

Referenced by demeter::Plane::defineFromPoints().

Vector & Vector::operator= const Vector vector  ) 
 

Definition at line 2289 of file CLODTerrainRenderer.cpp.

References x, y, and z.


Member Data Documentation

float demeter::Vector::x
 

Definition at line 114 of file CLODTerrainRenderer.

Referenced by demeter::TerrainBlock::CalculateGeometry(), demeter::Triangle::DefineFromPoints(), demeter::Plane::defineFromPoints(), operator=(), demeter::TriangleFan::Render(), demeter::TriangleStrip::Render(), demeter::TriangleFan::Setup(), demeter::TriangleStrip::Setup(), demeter::Terrain::Terrain(), demeter::TerrainBlock::TerrainBlock(), and demeter::TerrainBlock::Tessellate().

float demeter::Vector::y
 

Definition at line 114 of file CLODTerrainRenderer.

Referenced by demeter::TerrainBlock::CalculateGeometry(), demeter::Triangle::DefineFromPoints(), demeter::Plane::defineFromPoints(), operator=(), demeter::TriangleFan::Render(), demeter::TriangleStrip::Render(), demeter::TriangleFan::Setup(), demeter::TriangleStrip::Setup(), demeter::Terrain::Terrain(), demeter::TerrainBlock::TerrainBlock(), and demeter::TerrainBlock::Tessellate().

float demeter::Vector::z
 

Definition at line 114 of file CLODTerrainRenderer.

Referenced by demeter::TerrainBlock::CalculateGeometry(), demeter::Triangle::DefineFromPoints(), demeter::Plane::defineFromPoints(), demeter::Terrain::GetElevation(), demeter::Terrain::GetVertexElevation(), operator=(), demeter::Terrain::SetVertexElevation(), demeter::Terrain::Terrain(), demeter::TerrainBlock::TerrainBlock(), and demeter::TerrainBlock::Tessellate().


The documentation for this class was generated from the following files:
Generated on Thu Jul 29 16:39:42 2004 for OpenSim by doxygen 1.3.6