v0.2.1
Fast, portable C library for geometry input/output
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules
stl_error.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** gmio
3 ** Copyright Fougue (24 Jun. 2016)
4 ** contact@fougue.pro
5 **
6 ** This software is a reusable library whose purpose is to provide complete
7 ** I/O support for various CAD file formats (eg. STL)
8 **
9 ** This software is governed by the CeCILL-B license under French law and
10 ** abiding by the rules of distribution of free software. You can use,
11 ** modify and/ or redistribute the software under the terms of the CeCILL-B
12 ** license as circulated by CEA, CNRS and INRIA at the following URL
13 ** "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html".
14 ****************************************************************************/
15 
23 #ifndef GMIO_STL_ERROR_H
24 #define GMIO_STL_ERROR_H
25 
28 enum { GMIO_STL_ERROR_TAG = 0x11000000 };
29 
33 {
36 
40 
41  /* Specific error codes returned by STL_ascii read function */
42 
45 
48 
49  /* Specific error codes returned by STL_binary read/write functions */
50 
54 
57 
60 };
61 
62 #endif /* GMIO_STL_ERROR_H */
63 
Invalid max number of decimal significants digits must be in [1..9].
Definition: stl_error.h:47
STL format could not be guessed in read function.
Definition: stl_error.h:35
Parsing error occured due to malformed STL ascii input.
Definition: stl_error.h:44
Common STL write error indicating gmio_stl_mesh::func_get_triangle() pointer is NULL.
Definition: stl_error.h:39
gmio_stl_error
This enum defines the various error codes reported by STL read/write functions.
Definition: stl_error.h:32
Error occured when reading header data in gmio_stlb_read()
Definition: stl_error.h:56
Error occured when reading facet count in gmio_stlb_read()
Definition: stl_error.h:59
Definition: stl_error.h:28
The byte order argument supplied is not supported, must be little or big endian.
Definition: stl_error.h:53
Fougue © 2016