v0.1.0
Fast, portable C library for geometry input/output
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules
Functions
stl_io.h File Reference

STL read/write functions. More...

Go to the source code of this file.

Functions

int gmio_stl_read (struct gmio_stream *stream, struct gmio_stl_mesh_creator *mesh_creator, const struct gmio_stl_read_options *options)
 Reads STL mesh from stream, format is automatically guessed. More...
 
int gmio_stl_read_file (const char *filepath, struct gmio_stl_mesh_creator *mesh_creator, const struct gmio_stl_read_options *options)
 Reads STL mesh from a file, format is automatically guessed. More...
 
int gmio_stla_read (struct gmio_stream *stream, struct gmio_stl_mesh_creator *mesh_creator, const struct gmio_stl_read_options *options)
 Reads mesh from STL ascii stream. More...
 
int gmio_stlb_read (struct gmio_stream *stream, struct gmio_stl_mesh_creator *mesh_creator, enum gmio_endianness byte_order, const struct gmio_stl_read_options *options)
 Reads mesh from STL binary stream. More...
 
int gmio_stl_write (enum gmio_stl_format format, struct gmio_stream *stream, const struct gmio_stl_mesh *mesh, const struct gmio_stl_write_options *options)
 Writes STL mesh to stream. More...
 
int gmio_stl_write_file (enum gmio_stl_format format, const char *filepath, const struct gmio_stl_mesh *mesh, const struct gmio_stl_write_options *options)
 Writes STL mesh to stream. More...
 
int gmio_stlb_header_write (struct gmio_stream *stream, enum gmio_endianness byte_order, const struct gmio_stlb_header *header, uint32_t facet_count)
 Writes STL binary header data to stream. More...
 

Detailed Description

STL read/write functions.

Fougue © 2016