Hugues Delorme
1168ef04ed
gmio_core,stl: refactor basic error checking
2016-12-01 09:53:07 +01:00
Hugues Delorme
941a015bfb
gmio_stl: rename functions/structs in stl_infos.h (_get -> _probe)
...
Rename :
* Func gmio_stl_infos_get() -> gmio_stl_infos_probe()
* Func gmio_stla_infos_get_streamsize() -> gmio_stla_infos_probe_streamsize()
* Struct gmio_stl_infos_get_options -> gmio_stl_infos_probe_options
GitHub issue #3
2016-12-01 09:52:20 +01:00
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
3f042c4778
tests: fix regression link error
2016-09-21 09:03:39 +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
4e013f213c
tests: fix link errors when GMIO_BUILD_SHARED_LIBS=ON
2016-07-05 15:53:27 +02:00
Hugues Delorme
058db6cb4d
test_stl: fix C90 compilation error
2016-07-05 14:28: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
185b70084a
fake_support: fix compilation error with Clang
2016-06-30 10:39:45 +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
eb9719ef16
tests: include C sources directly
...
This avoids to declare prototypes of the test_xxx() functions
2016-06-16 10:29:27 +02:00
Hugues Delorme
751414654d
gcc: add -std=c++0x where needed
2016-06-14 18:10:20 +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
109e3143d6
fake_support: fix GCC compilation error wit NCollection_StlIterator.hxx
2016-04-25 18:29:39 +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
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
4a2322132d
fake_support: fix warning in TColStd_PackedMapOfInteger
2016-04-06 14:37:35 +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
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
8ea5125b4b
Fix some warnings
2016-03-10 18:27:10 +01:00
Hugues Delorme
603adc474c
tests: centralize STL read testcases
2016-03-10 17:55:38 +01:00
Hugues Delorme
a66112d114
tests: add testcase solid_header_no_facets.le_stlb
2016-03-10 15:39:06 +01:00
Hugues Delorme
47123e2d26
Replace some sprintf() calls with snprintf()
2016-03-10 15:23:01 +01:00
Hugues Delorme
f99983b3fa
Add target for "examples"
2016-03-07 17:48:33 +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
2ec351d8d3
tests: hopefully fix Clang warnings about printf() uses
2016-03-01 18:18:05 +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
9260bc480a
tests: add missing test case "solid_jburkardt_sphere.stla" for test_stl_read()
2016-02-22 17:15:30 +01:00
Hugues Delorme
706fc26b0e
gmio_support: iterate on all StlMesh_Mesh's domains
2016-02-18 18:20:23 +01:00
Hugues Delorme
9cf0ac13df
Fix Clang compilation error
2016-02-12 11:55:39 +01:00
Hugues Delorme
bd5a6cde4e
tests: fix test_stl_triangle_compute_normal()
2016-02-11 11:05:32 +01:00
Hugues Delorme
c425484c64
tests: remove debug trace
2016-02-05 12:20:37 +01:00
Hugues Delorme
f6b71695c0
gmio_stl: add utility function gmio_stl_triangle_compute_normal()
2016-02-05 12:20:14 +01:00
Hugues Delorme
b7bceff748
gmio_stl: simplify code of gmio_stla_infos_get()
2016-02-03 11:43:52 +01:00
Hugues Delorme
f8e73f5747
gmio_stl: simplify API of gmio_stl_mesh_creator
2016-02-01 16:53:45 +01:00
Hugues Delorme
30e87e7d29
tests: weakier benchmark requirement for fast_atof()
2016-01-29 12:48:31 +01:00
Hugues Delorme
75cd51398e
gmio_stl: improve API
2016-01-29 12:47:01 +01:00
Hugues Delorme
9ae18d1b9e
Replace gmio_bool_t with bool
2016-01-26 17:03:58 +01:00
Hugues Delorme
0c15f9f325
Get rid of gmio_floatXX_t typedefs
2016-01-26 16:00:36 +01:00
Hugues Delorme
fb8f7e0502
tests: enable models for testing
2016-01-26 11:50:55 +01:00