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

Vertex Class Reference

#include <vertex.h>

List of all members.

Public Methods

 Vertex ()
 Vertex (float x, float y, float z)
void set (float x, float y, float z)
Vertex & operator+= (const Vertex &v)
Vertex & operator-= (const Vertex &v)
Vertex & operator *= (float v)
Vertex & operator/= (float v)

Public Attributes

float x
float y
float z

Friends

Vertex operator+ (const Vertex &v1, const Vertex &v2)
Vertex operator- (const Vertex &v1, const Vertex &v2)
Vertex operator * (const Vertex &v, float f)
Vertex operator/ (const Vertex &v, float f)


Constructor & Destructor Documentation

Vertex::Vertex  
 

Vertex::Vertex float    x,
float    y,
float    z
 


Member Function Documentation

Vertex & Vertex::operator *= float    v
 

Vertex & Vertex::operator+= const Vertex &    v
 

Vertex & Vertex::operator-= const Vertex &    v
 

Vertex & Vertex::operator/= float    v
 

void Vertex::set float    x,
float    y,
float    z
 


Friends And Related Function Documentation

Vertex operator * const Vertex &    v,
float    f
[friend]
 

Vertex operator+ const Vertex &    v1,
const Vertex &    v2
[friend]
 

Vertex operator- const Vertex &    v1,
const Vertex &    v2
[friend]
 

Vertex operator/ const Vertex &    v,
float    f
[friend]
 


Member Data Documentation

float Vertex::x
 

float Vertex::y
 

float Vertex::z
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 21 11:11:14 2004 for naturecalls by doxygen1.2.18