Classes | Public Member Functions | Friends | List of all members
STLFile Class Reference

#include <stlfile.hpp>

Classes

class  Triangle
class  VTriangle

Public Member Functions

 STLFile (const std::string &filename)
 ~STLFile ()
size_t size (void)
bool inside (const Vec3D &x, double eps=1.0e-6) const
void get_bbox (Vec3D &min, Vec3D &max) const
 Return bounding box of entity.
void debug_print (std::ostream &os) const
 Print debugging information to os.

Friends

std::ostream & operator<< (std::ostream &os, const VTriangle &vtri)
 Outputting to stream.

Constructor & Destructor Documentation

STLFile::STLFile ( const std::string &  filename)
STLFile::~STLFile ( )

Member Function Documentation

void STLFile::debug_print ( std::ostream &  os) const

Print debugging information to os.

void STLFile::get_bbox ( Vec3D min,
Vec3D max 
) const

Return bounding box of entity.

bool STLFile::inside ( const Vec3D x,
double  eps = 1.0e-6 
) const
size_t STLFile::size ( void  )

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const VTriangle &  vtri 
)
friend

Outputting to stream.


The documentation for this class was generated from the following file: