Al's Programming Resource Homepage  Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

VERTEX Class Reference

#include <vertex.h>

List of all members.

Public Methods

 VERTEX (float x=0, float y=0, float z=0, float nx=0, float ny=0, float nz=0)
 ~VERTEX ()
VERTEX & operator= (const VERTEX &Vertex)

Public Attributes

VECTOR coords
VECTOR normal
float u
float v


Constructor & Destructor Documentation

VERTEX::VERTEX float    x = 0,
float    y = 0,
float    z = 0,
float    nx = 0,
float    ny = 0,
float    nz = 0
 

Definition at line 5 of file vertex.cpp.

References coords, normal, VECTOR::x, VECTOR::y, and VECTOR::z.

00006 {
00007     coords.x = sx;
00008     coords.y = sy;
00009     coords.z = sz;
00010     normal.x = snx;
00011     normal.y = sny;
00012     normal.z = snz;
00013 }

VERTEX::~VERTEX  
 

Definition at line 15 of file vertex.cpp.

00016 {
00017 }


Member Function Documentation

VERTEX& VERTEX::operator= const VERTEX &    Vertex [inline]
 

Definition at line 20 of file vertex.h.

References coords, normal, u, and v.

00021         {
00022             coords = Vertex.coords;
00023             normal = Vertex.normal;
00024             u = Vertex.u;
00025             v = Vertex.v;
00026             return *this; 
00027         }


Member Data Documentation

VECTOR VERTEX::coords
 

Definition at line 14 of file vertex.h.

Referenced by CheckForCollision(), POLYGON::GetNormal(), line_plane_collision(), operator=(), SelectPolygon(), SetGLWorld(), POLYGON::SetNormal(), and VERTEX().

VECTOR VERTEX::normal
 

Definition at line 15 of file vertex.h.

Referenced by GetNorm(), line_plane_collision(), operator=(), SelectPolygon(), POLYGON::SetNormal(), and VERTEX().

float VERTEX::u
 

Definition at line 16 of file vertex.h.

Referenced by operator=().

float VERTEX::v
 

Definition at line 17 of file vertex.h.

Referenced by operator=().


The documentation for this class was generated from the following files:
Generated on Fri Dec 23 05:21:00 2005 for Polygon Selection by doxygen1.2.15