#include <stl_parser.hpp>
|
double | toDouble (char *facet, uint8_t start_idx) |
|
fcl::Vec3f | toVec3f (char *facet) |
|
Definition at line 23 of file stl_parser.hpp.
StlParser::StlParser |
( |
const std::string & |
file_path | ) |
|
|
inline |
virtual StlParser::~StlParser |
( |
| ) |
|
|
inlinevirtual |
double StlParser::toDouble |
( |
char * |
facet, |
|
|
uint8_t |
start_idx |
|
) |
| |
|
private |
Conversion of a 32 bit binary value into double.
- Parameters
-
facet | Current face / triangle. |
start_idx | Index in binary face description. |
- Returns
- Double value.
Definition at line 112 of file stl_parser.cpp.
fcl::Vec3f StlParser::toVec3f |
( |
char * |
facet | ) |
|
|
private |
Converter method from position in file to a 3d vector.
- Parameters
-
facet | Pointer to the current face / triangle in file. |
- Returns
- An fcl::Vec3f containing the 3 vertices describing a triangle.
Definition at line 96 of file stl_parser.cpp.
The documentation for this class was generated from the following files: