Commit Graph

33 Commits

Author SHA1 Message Date
6b1cbc4d73 Move source out of root and into the cruft directory 2024-07-18 12:27:05 +10:00
a94cd677bd tap: use fmtlib specifiers 2021-04-13 16:05:08 +10:00
58d86bbc95 region: add a single 'covers' test 2020-10-27 16:00:53 +10:00
0d9a80ea84 region: add another intersects test 2020-10-27 15:32:11 +10:00
6782b821b9 region: add some region-region intersects tests 2020-10-27 12:20:41 +10:00
9d0e9a9f1d region: move rotate90 out of the header 2020-08-21 11:34:52 +10:00
bf3ae14f25 region: add rotate method 2020-08-17 11:49:15 +10:00
8697c103d6 region: add intersection operation 2020-03-12 12:45:29 +11:00
fd64ca6bce region: correct the point-region distance2 calculation 2019-08-30 13:45:08 +10:00
976d44b1d9 region: use half-open range for region::step 2019-03-08 09:41:37 +11:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
3722c8aaa3 region: add union operator for region/region 2018-06-14 15:07:25 +10:00
af77aad894 extent/region: simplify iteration over ranges 2018-03-23 16:38:54 +11:00
6e32ad84a7 coord: use consistent naming for point coverage tests
use inclusive for tests that include all borders, and exclusive for
tests that do not accept the bottom right borders.
2017-08-24 15:56:58 +10:00
a016e98b12 region: add make_range for regions
introduces an object that provides iterators suitable for row-major
scanning of points covering a region object. mostly a wrapper for the
equivalent extent_range.
2017-08-21 18:48:52 +10:00
31d2e6bfd8 region: remove duplicate point/region coverage tests 2017-08-11 15:15:44 +10:00
01f6e5a1e8 region: add make_union function 2017-07-31 15:44:01 +10:00
d29276a427 region: add "has" point query 2017-07-25 17:10:16 +10:00
a27869d1c8 region: commenting and style for test cases 2017-07-19 17:19:20 +10:00
2dcb315ce6 region: prefer constexpr functions over static variables 2016-12-12 17:07:53 +11:00
d9a0649acb test: convert remaining tests to TAP 2016-01-19 18:31:49 +11:00
bbbbb675a6 test: move tests to TAP output 2015-04-13 16:45:56 +10:00
439bb19679 coord: move operators out of subclasses 2015-03-06 01:09:58 +11:00
31d1d741e9 extent/region: update to use size parameters 2015-03-03 04:13:29 +11:00
6bd9ad333c region: try to use unsigned types for extent 2015-02-17 16:23:54 +11:00
52f53caee5 debug: drop support for CHECK_HARD
HARD vs SOFT assertions were never very well defined or supported.
Currently they just imply a level of functionality that isn't present;
it's better to remove them instead of expending the effort at this
point.
2015-01-28 14:49:34 +11:00
fe143717c5 region: style, comments, namespacing 2015-01-21 23:40:13 +11:00
5956d0421e parameterise point, vector, region, matrix on type 2014-12-15 20:10:56 +11:00
baf8ded43d Add UNIT and MAX region objects 2012-06-15 16:38:57 +10:00
9098ea408d Add contains vs includes region tests 2012-06-08 16:48:33 +10:00
71576c9e7b Fix test case headers for new types.hpp 2012-05-26 18:01:54 +10:00
4f5d75a1df Make all check macros uppercase 2012-05-11 12:34:21 +10:00
4dc7a3ca49 Add simple region overlap testcase 2012-05-11 12:21:47 +10:00