OBJ file format tools.
More...
|
| void | save (const Geometry &geom, std::ostream &out) |
| | Saves a geometry to an OBJ format stream. More...
|
| |
| void | save (const Geometry &geom, const std::string &filename) |
| | Saves a geometry to an OBJ file. More...
|
| |
| auto | saveToString (const Geometry &geom) |
| | Saves a geometry to an OBJ format string. More...
|
| |
| void | saveToBuffer (const Geometry &geom, char *buffer, size_t *size) |
| | Saves a geometry to an OBJ format buffer (C API). More...
|
| |
| SFCGAL_API void SFCGAL::io::OBJ::save |
( |
const Geometry & |
geom, |
|
|
std::ostream & |
out |
|
) |
| |
Saves a geometry to an OBJ format stream.
- Parameters
-
| [in] | geom | The geometry to save |
| [out] | out | The output stream |
- Exceptions
-
| SFCGAL_API void SFCGAL::io::OBJ::save |
( |
const Geometry & |
geom, |
|
|
const std::string & |
filename |
|
) |
| |
Saves a geometry to an OBJ file.
- Parameters
-
| [in] | geom | The geometry to save |
| [in] | filename | The name of the file to save to |
- Exceptions
-
| 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).
- Parameters
-
| [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) |
- Exceptions
-
| SFCGAL_API std::string SFCGAL::io::OBJ::saveToString |
( |
const Geometry & |
geom | ) |
|
Saves a geometry to an OBJ format string.
- Parameters
-
| [in] | geom | The geometry to save |
- Returns
- The OBJ format string
- Exceptions
-