Commit Graph

160 Commits

Author SHA1 Message Date
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
Hugues Delorme
5969cad14b tests: add new tests for gmio_stlb_header functions 2016-01-26 11:50:29 +01:00
Hugues Delorme
2a525d654b tests: test gmio_stl_infos_get() against all STL models 2016-01-21 16:11:45 +01:00
Hugues Delorme
0e479bdc48 tests: add new comparison testing facilities 2016-01-21 14:52:26 +01:00
Hugues Delorme
523cd028b8 gmio_stl: rename gmio_stl_triangle::normal -> gmio_stl_triangle::n 2016-01-20 17:47:30 +01:00
Hugues Delorme
b63f722142 tests: use a randomly computed array of floats in fast_atof benchmark 2016-01-14 10:24:15 +01:00
Hugues Delorme
332edde857 tests: remove --debug from ctest command 2016-01-13 17:29:53 +01:00
Hugues Delorme
6bf6f8789b tests: verbose ctest 2016-01-13 15:42:50 +01:00
Hugues Delorme
d0b213a652 tests: move gmio_stlb_header_to_printable_str() to gmio_stl/stlb_header.h 2016-01-13 15:25:18 +01:00
Hugues Delorme
9dc842a35d tests: enable fast_atof() benchmark check only for release builds 2016-01-13 10:55:59 +01:00
Hugues Delorme
4a34063af9 gmio_core: rename string_utils.h -> string_ascii_utils.h 2016-01-13 10:21:27 +01:00
Hugues Delorme
f2a1665493 gmio_core: rename gmio_stringstream_init() to gmio_stringstream_init_pos() 2016-01-13 10:04:41 +01:00