STL solid
More...
#include <stl_solid.hpp>
STLSolid::STLSolid |
( |
const std::string & |
filename | ) |
|
Constructor for making a solid reading a STL-file.
virtual STLSolid::~STLSolid |
( |
| ) |
|
|
virtual |
void STLSolid::debug_print |
( |
std::ostream & |
os | ) |
const |
|
virtual |
Print debugging information to os.
Implements Solid.
class STLFile* STLSolid::get_stl_file |
( |
void |
| ) |
const |
Return a pointer to the STL-file.
virtual bool STLSolid::inside |
( |
const Vec3D & |
x | ) |
const |
|
virtual |
Return if 3D point x in simulation space is inside solid.
Implements Solid.
void STLSolid::rotate_x |
( |
double |
a | ) |
|
|
inline |
Rotate solid around x-axis.
void STLSolid::rotate_y |
( |
double |
a | ) |
|
|
inline |
Rotate solid around y-axis.
void STLSolid::rotate_z |
( |
double |
a | ) |
|
|
inline |
Rotate solid around z-axis.
virtual void STLSolid::save |
( |
std::ostream & |
s | ) |
const |
|
virtual |
Saves solid data to stream.
Implements Solid.
void STLSolid::scale |
( |
const Vec3D & |
sx | ) |
|
|
inline |
void STLSolid::translate |
( |
const Vec3D & |
dx | ) |
|
|
inline |
The documentation for this class was generated from the following file: