|
SFCGAL 2.0.0
|
Functions | |
| void | save (const Geometry &geom, std::ostream &out) |
| Saves a geometry to an OBJ format stream. | |
| void | save (const Geometry &geom, const std::string &filename) |
| Saves a geometry to an OBJ file. | |
| auto | saveToString (const Geometry &geom) -> std::string |
| void | saveToBuffer (const Geometry &geom, char *buffer, size_t *size) |
| Saves a geometry to an OBJ format buffer (C API). | |
| SFCGAL_API std::string | saveToString (const Geometry &geom) |
| Saves a geometry to an OBJ format string. | |
| SFCGAL_API void SFCGAL::io::OBJ::save | ( | const Geometry & | geom, |
| const std::string & | filename ) |
Saves a geometry to an OBJ 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 void SFCGAL::io::OBJ::save | ( | const Geometry & | geom, |
| std::ostream & | out ) |
Saves a geometry to an OBJ 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 void SFCGAL::io::OBJ::saveToBuffer | ( | const Geometry & | geom, |
| char * | buffer, | ||
| size_t * | size ) |
Saves a geometry to an OBJ 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 |
| SFCGAL_API std::string SFCGAL::io::OBJ::saveToString | ( | const Geometry & | geom | ) |
| auto SFCGAL::io::OBJ::saveToString | ( | const Geometry & | geom | ) | ->std::string |