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

Surface Class Reference

class for RV_Polyhedron. More...

#include <surface.h>

List of all members.

Public Methods

 Surface (rvulong stype, rvulong type, Vector *v0, Vector *v1, Vector *v2, Vector *v3=NULL)
void createPolyhedron (rvulong)
Vector planarNormal (void)
void createPlane (RV_Plane *, Vector &normal, Vector &pos)
void write (FILE *)
void expandGrid (LookupGrid*)
void enterIntoGrid (LookupGrid*, rvulong myidx)
bool isInGrid (LookupGrid*, int, int)

Private Attributes

RV_Polyhedron ph
Vector vecs [4]
Vector orient_vecs [4]
bool orient_is_waste [4]
rvfloat orient_distance [4]
int nvecs


Detailed Description

class for RV_Polyhedron.

NCP Grid entry method is controlled by external define CHEAP_NCP_GRID


Constructor & Destructor Documentation

Surface::Surface ( rvulong stype,
rvulong type,
Vector * v0,
Vector * v1,
Vector * v2,
Vector * v3 = NULL )
 


Member Function Documentation

void Surface::createPlane ( RV_Plane * pl,
Vector & normal,
Vector & pos )
 

void Surface::createPolyhedron ( rvulong type )
 

void Surface::enterIntoGrid ( LookupGrid * grid,
rvulong myidx )
 

requires that createPolyhedron() has been called before

void Surface::expandGrid ( LookupGrid * grid )
 

bool Surface::isInGrid ( LookupGrid * grid,
int grid_x,
int grid_z )
 

Vector Surface::planarNormal ( void )
 

void Surface::write ( FILE * f )
 


Member Data Documentation

int Surface::nvecs [private]
 

rvfloat Surface::orient_distance[4] [private]
 

bool Surface::orient_is_waste[4] [private]
 

Vector Surface::orient_vecs[4] [private]
 

RV_Polyhedron Surface::ph [private]
 

Vector Surface::vecs[4] [private]
 


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