24 Commits

Author SHA1 Message Date
Blottiere Paul
063a5b1651 Remove GHT support 2018-06-14 18:34:05 +01:00
Mathieu Brédif
4088121eeb dim pointers instead of positions in PCSCHEMA
replaces `int32_t x_position` with `PCDIMENSION *xdim` (and similarly for y,z,m) in PCSCHEMA to get a direct access to the corresponding dimension
-> code readability improvement by discarding the `-1` constant and maybe slight expected performance increase of get/set functions
2017-04-01 10:03:25 +02:00
Mathieu Brédif
f62481bc9b pcpoint_set/get API normalisation and testing
- definition of CU_ASSERT_FAILURE and CU_ASSERT_SUCCESS for easy checking of return values in tests.
- pcpoint_set functions were returning the PC_SUCCESS/PC_FAILURE as a double (!)
- add simple xy, xyz, xym and xyzm xml schemas for unit tests (test_point_xyzm)
2017-04-01 10:03:22 +02:00
Éric Lemoine
4ba2fe6d8f Revert "testing : pcpoint_get/set and pc_point_to_geometry_wkb" 2017-03-30 10:15:50 +02:00
Mathieu Brédif
081d210f13 dim pointers instead of positions in PCSCHEMA
replaces `int32_t x_position` with `PCDIMENSION *xdim` (and similarly for y,z,m) in PCSCHEMA to get a direct access to the corresponding dimension
-> code readability improvement by discarding the `-1` constant and maybe slight expected performance increase of get/set functions
2017-03-21 13:58:25 +01:00
Mathieu Brédif
30a680f94a pcpoint_set/get API normalisation and testing
- definition of CU_ASSERT_FAILURE and CU_ASSERT_SUCCESS for easy checking of return values in tests.
- pcpoint_set functions were returning the PC_SUCCESS/PC_FAILURE as a double (!)
- add simple xy, xyz, xym and xyzm xml schemas for unit tests (test_point_xyzm)
2017-03-21 13:57:19 +01:00
Blottiere Paul
1254177326 Fix memory leak in pc_patch_filter for lazperf 2017-03-13 18:10:59 +01:00
Éric Lemoine
7be5f7fd67 Fix bug in pc_patch_filter for lazperf
In pc_patch_filter, when nset is 0, the empty patch returned was created with
an invalid maxpoints value in the case of lazperf.
2017-03-10 13:01:56 +01:00
Mathieu Brédif
ef5fc167d8 indentation normalization 2017-02-12 23:52:15 +01:00
Éric Lemoine
6a59f73ebb Make the pc_bitmap_set function static
And get rid of a warning at compile time.
2017-01-24 16:31:15 +01:00
Blottiere Paul
b3764bd5dc Add lazperf pcpatch 2016-06-14 10:22:16 +02:00
Sandro Santilli
022708bcba Fix stat computed by PC_Filter for scaled/offsetted dimensions.
Closes #78.
Includes testcase.
2015-04-30 13:31:13 +02:00
Sandro Santilli
a632241185 Fix max stat computed by PC_Filter for unscaled dimensions.
Closes #79.
Includes testcase.
2015-04-30 11:58:40 +02:00
Sandro Santilli
9a764780e3 Fix some uninitialized and unused variables warnings
Closes #37
2015-02-04 12:28:17 +01:00
Paul Ramsey
d0e39ac27b Support missing CUnit 2014-10-08 11:12:41 -07:00
Paul Ramsey
1d586ee151 Add a stats-based pre-filter to the generic filtering 2013-07-03 13:26:09 -07:00
Paul Ramsey
0909faa673 Do efficient filtering in RLE encoded dimensions 2013-06-28 17:34:41 -07:00
Paul Ramsey
b8ff674ac4 Replace uncompressed filter hack with native GHT filtering for GHT cases. 2013-06-28 11:35:27 -07:00
Paul Ramsey
12123bdbb1 astyle pass 2013-06-12 17:13:19 -07:00
Paul Ramsey
668d2413b2 Tests in place for patchlevel filtering
much optimization left to do
2013-06-04 14:53:42 -07:00
Paul Ramsey
fdc27ea55d Tests for filtering (need more!) 2013-06-03 16:20:03 -07:00
Paul Ramsey
283b6807e2 Clean build version of filtering code 2013-06-03 14:15:13 -07:00
Paul Ramsey
0d0d27a909 uncompressed filter 2013-05-31 17:15:02 -07:00
Paul Ramsey
3655ec0ab2 Rejigging 2013-05-31 16:12:08 -07:00