|
SFCGAL
2.2.0
|
Namespaces | |
| SFCGAL::io | |
| Main Input/output namespace. | |
| SFCGAL::io::OBJ | |
| OBJ file format tools. | |
| SFCGAL::io::VKT | |
| VKT file format tools. | |
Functions | |
| auto | SFCGAL::io::STL::save (const Geometry &geom, std::ostream &out) -> void |
| Saves a geometry to an STL format stream. More... | |
| auto | SFCGAL::io::STL::save (const Geometry &geom, const std::string &filename) -> void |
| Saves a geometry to an STL file. More... | |
| auto | SFCGAL::io::STL::saveToString (const Geometry &geom) -> std::string |
| Saves a geometry to an STL format string. More... | |
| auto | SFCGAL::io::STL::saveToBuffer (const Geometry &geom, char *buffer, size_t *size) -> void |
| Saves a geometry to an STL format buffer (C API). More... | |
| SFCGAL_API auto SFCGAL::io::STL::save | ( | const Geometry & | geom, |
| std::ostream & | out | ||
| ) | -> void |
Saves a geometry to an STL format stream.
| [in] | geom | The geometry to save |
| [out] | out | The output stream |
| std::runtime_error | If the geometry is invalid or unsupported |
| SFCGAL_API auto SFCGAL::io::STL::save | ( | const Geometry & | geom, |
| const std::string & | filename | ||
| ) | -> void |
Saves a geometry to an STL file.
| [in] | geom | The geometry to save |
| [in] | filename | The name of the file to save to |
| std::runtime_error | If the file cannot be opened or the geometry is invalid |
| SFCGAL_API auto SFCGAL::io::STL::saveToBuffer | ( | const Geometry & | geom, |
| char * | buffer, | ||
| size_t * | size | ||
| ) | -> void |
Saves a geometry to an STL format buffer (C API).
| [in] | geom | The geometry to save |
| [out] | buffer | The buffer to write to |
| [in,out] | size | On input, the size of the buffer. On output, the number of bytes written (or required if buffer is null) |
| std::runtime_error | If the geometry is invalid or unsupported |
1.8.10