Commit Graph

405 Commits

Author SHA1 Message Date
Hugues Delorme
a525eca318 gmio_stl: fix ending error when reading multiple STL solids from stream
This fixes GitHub issue #2
2016-09-29 16:26:23 +02:00
Hugues Delorme
ea8a789220 gmio_stl: remove public #include of internal header 2016-09-19 18:28:42 +02:00
Hugues Delorme
7082098bdb gmio_support: fix issue with not using the C++ universal initialiser in stream_qt.cpp 2016-07-26 16:23:42 +02:00
Hugues Delorme
38ae856f36 gmio_support: OpenCascade support no longer requires C++11 2016-07-26 16:23:03 +02:00
Hugues Delorme
362c789f5b gmio_support: fix compilation error with OpenCascade v6.8.0 2016-07-25 16:17:38 +02:00
Hugues Delorme
df2eac3ff1 Relicense under BSD 2-clause 2016-07-05 12:46:22 +02:00
Hugues Delorme
89d268f052 gmio_stl: add read/write option stla_dont_check_lc_numeric
gmio_stla_read() and gmio_stla_write() now checks LC_NUMERIC is
either "C" or "POSIX", if not then GMIO_ERROR_BAD_LC_NUMERIC is returned.
This option is controlled with:
    * gmio_stl_read_options.stla_dont_check_lc_numeric
    * gmio_write_read_options.stla_dont_check_lc_numeric
2016-07-05 11:52:11 +02:00
Hugues Delorme
d2ba019733 gmio_support: fix duplicated vertices when reading STL file into StlMesh_Mesh 2016-06-29 16:52:32 +02:00
Hugues Delorme
be5dba661e Update copyright mention 2016-06-24 12:03:07 +02:00
Hugues Delorme
b9c4678c46 gmio_stl: fix crash with gmio_stla_infos_get() when flag_size not set 2016-06-23 17:48:59 +02:00
Hugues Delorme
4d913a9c6a gmio_stl: add some \sa doc 2016-06-16 10:29:59 +02:00
Hugues Delorme
05ea032f3d gmio_support: refactor gmio_stl_mesh OCC support
Make use of gmio_support for OpenCascade less error-prone
and easier to maintain.
Ugly const_cast<> have also been eradicated.
2016-06-14 16:42:22 +02:00
Hugues Delorme
61be8c6972 Add possibility to use google double-conversion library
String->float and float->string conversion functions may have
different implementations in stringstream.h depending on new
cmake options: GMIO_STR2FLOAT_LIB and GMIO_FLOAT2STR_LIB
2016-06-08 11:00:54 +02:00
Hugues Delorme
b36daae059 More doc 2016-05-13 10:57:12 +02:00
Hugues Delorme
ee5c908bb7 Improve doc 2016-04-27 16:11:00 +02:00
Hugues Delorme
2f3f1afe9f gmio_support: hide internal API of the OpenCascade iterators 2016-04-25 18:16:31 +02:00
Hugues Delorme
6c0e50cac4 gmio_core/internal: fix gmio_vec3{f,d}_cross_product() functions 2016-04-25 17:18:54 +02:00
Hugues Delorme
cbfd3b438f fake_support/opencascade: simplify Handle and array classes 2016-04-25 17:17:39 +02:00
Hugues Delorme
1b2c4e945e gmio_support: provide gmio_stl_mesh support of TopoDS_Shape 2016-04-25 17:16:26 +02:00
Hugues Delorme
8d103964fb gmio_support: fix minor issues in stl_occ* files 2016-04-15 12:47:05 +02:00
Hugues Delorme
ac6d242f9a gmio_support: split stl_occ.h+cpp into stl_occ_mesh and stl_occ_meshvs 2016-04-15 12:37:05 +02:00
Hugues Delorme
6c2b784323 gmio_support: fix compiler errors with OpenCascade v7.0.0 2016-04-15 09:03:47 +02:00
Hugues Delorme
61a44ca6dc gmio_core/internal: rename gmio_string::max_len to "capacity" 2016-04-07 10:38:40 +02:00
Hugues Delorme
e97c880343 gmio_core: use new integer type intmax_t instead for gmio_task_iface::func_handle_progress() 2016-04-07 10:13:32 +02:00
Hugues Delorme
911825e1c3 More doc 2016-04-06 17:33:05 +02:00
Hugues Delorme
67f70c0c4b gmio_support: add support of MeshVS_DataSource in gmio_stl 2016-04-06 11:29:40 +02:00
Hugues Delorme
c5f4570797 Doc 2016-03-29 12:22:30 +02:00
Hugues Delorme
01c3b295ff Indentation 2016-03-29 12:22:17 +02:00
Hugues Delorme
d84f8c6857 More doc [skip_ci] 2016-03-25 13:08:17 +01:00
Hugues Delorme
2bce508e56 gmio_core: fix fallback of gmio_powf() 2016-03-14 17:35:18 +01:00
Hugues Delorme
33317b2613 Add more C99 compat functions 2016-03-14 17:07:06 +01:00
Hugues Delorme
2f873e3089 Rename gmio_vec3 structs
*gmio_vec3_f32 -> gmio_vec3f
*gmio_vec3_f64 -> gmio_vec3d
2016-03-14 17:07:05 +01:00
Hugues Delorme
d5133928c4 API simplification, more homogeneous 2016-03-11 12:43:30 +01:00
Hugues Delorme
e4492f92f9 Rename gmio_stl_coords -> gmio_vec3_f32(core) 2016-03-11 10:33:13 +01:00
Hugues Delorme
0a14409aea Doc fixes 2016-03-11 10:07:53 +01:00
Hugues Delorme
e9be2a62d5 gmio_stl: factor some internal code in stl_format.c 2016-03-11 10:02:02 +01:00
Hugues Delorme
8ea5125b4b Fix some warnings 2016-03-10 18:27:10 +01:00
Hugues Delorme
47123e2d26 Replace some sprintf() calls with snprintf() 2016-03-10 15:23:01 +01:00
Hugues Delorme
fb04b67308 gmio_core: fix compilation errors with fallback gmio_snprintf() 2016-03-08 18:22:12 +01:00
Hugues Delorme
10e2102b29 gmio_core/internal: add portable snprintf() wrapper 2016-03-08 17:28:43 +01:00
Hugues Delorme
480c0fbf11 gmio_stl: use snprintf() instead of sprintf() in stla_error_token_expected() 2016-03-08 15:24:33 +01:00
Hugues Delorme
37c4a2a576 Introduce GMIO_STL_FORMAT_TAG_BINARY 2016-03-08 10:29:49 +01:00
Hugues Delorme
43a296656d Fix minor code style issues 2016-03-07 16:43:51 +01:00
Hugues Delorme
bdb3b1e7e6 Hopefully fix newly detected coverity defects 2016-03-03 17:34:20 +01:00
Hugues Delorme
ffb980ae63 Fix warnings about integer comparisons 2016-03-02 18:05:19 +01:00
Hugues Delorme
74ae9ba752 gmio_stl: change API to use pointer arguments instead of confusing value 2016-03-01 14:50:31 +01:00
Hugues Delorme
77c65947bb Add support of multi STL solids loading 2016-02-24 16:46:48 +01:00
Hugues Delorme
31f07a07ca gmio_stla: copy token string on next_token error 2016-02-22 17:14:47 +01:00
Hugues Delorme
706fc26b0e gmio_support: iterate on all StlMesh_Mesh's domains 2016-02-18 18:20:23 +01:00
Hugues Delorme
b42e2b36ee Fix Clang compiler error and warnings 2016-02-12 11:45:46 +01:00