Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Vertex Class Reference

Vector with normal. More...

#include <vertex.h>

List of all members.

Public Methods

 Vertex ()
 Vertex (FILE *)
 Vertex (Vertex *)
 Vertex (const Vector &_pos, const Vector &_normal)
void translate (rvfloat dx, rvfloat dy, rvfloat dz)
void translate (Vector *vec)
void rotate (Matrix_3x3 &)
void write (FILE *)

Public Attributes

Vector pos
Vector normal


Detailed Description

Vector with normal.

This class is directly written to and read from files.

It may only contain the three coordinates, and nothing more that requires storage memory, like virtual functions.


Constructor & Destructor Documentation

Vertex::Vertex ( )
 

Vertex::Vertex ( FILE * f )
 

Vertex::Vertex ( Vertex * other )
 

Vertex::Vertex ( const Vector & _pos,
const Vector & _normal )
 


Member Function Documentation

void Vertex::rotate ( Matrix_3x3 & mx )
 

void Vertex::translate ( Vector * vec )
 

void Vertex::translate ( rvfloat dx,
rvfloat dy,
rvfloat dz )
 

void Vertex::write ( FILE * f )
 


Member Data Documentation

Vector Vertex::normal
 

Vector Vertex::pos
 


The documentation for this class was generated from the following files:
Generated at Fri Jul 26 09:34:00 2002 for rvtmod/rvglue by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000