Commit Graph

26 Commits

Author SHA1 Message Date
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
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
7f00f92e59 geom/aabb: add query for aabb corners 2018-05-21 10:47:51 +10:00
95d13b9fe4 geom/aabb: rename p0,p1 to lo,hi
this makes their meaning more explicit
2018-03-13 15:42:29 +11:00
0351313c36 Merge branch 'master' into coord 2017-11-23 17:24:11 +11:00
d3f434b523 coord: make template parameters more flexible
The coordinate system was unable to support types that prohibited
redim or retype operations. Additionally, the `tags' type used for
providing named data parameters was unwiedly.

We remove much of the dependance on template template parameters in the
defined operations and instead define these in terms of a template
specialisation of is_coord.

The tag types were replaced with direct specialisation of the `store'
struct by the primary type, and passing this type through use of the
CRTP.
2017-11-22 17:03:00 +11:00
34788756d2 build: don't use './' as an include prefix
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
07d74187c5 geom/aabb: don't write the class name with ostream operators 2017-08-24 17:52:59 +10:00
e573c0bcc6 geom/aabb: style and headers 2017-08-24 17:52:46 +10:00
f53b547a40 geom/aabb: prefer to use vector operations over loops 2017-08-24 17:27:31 +10:00
e82d770d2b geom/aabb: move inclusive point query into header 2017-08-24 17:21:23 +10:00
d47f52b63f geom/aabb: use vector operations for inclusive test 2017-08-24 17:12:17 +10:00
9fe8998476 geom/aabb: rename overlaps as inclusive for consistency 2017-08-24 17:11:48 +10:00
94e02fced4 geom/aabb: make the equality operator a free function 2017-08-24 17:08:37 +10:00
1cea1600d3 geom/aabb: change contract/expand semantics to mirror region 2017-08-24 17:01:16 +10:00
f77cdabaee geom/aabb: dont use mutating function naming convention 2017-08-24 16:47:02 +10:00
cd1bb730f2 geom/aabb: rename AABB to aabb 2017-08-24 16:43:54 +10:00
359702fb86 geom/aabb: remove mutating operators 2017-08-24 16:25:57 +10:00
353cf839d4 use nested namespace declarations 2017-01-05 15:06:49 +11:00
e5d44d0c6d coord: instantiate signed types 2016-10-25 17:50:11 +11:00
9a798446b5 build: remove unnecessary includes
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
00eca4445b debug: use less complex specialistion for validator 2016-08-10 17:36:25 +10:00
116ad04a1f build: use ostream/istream over iostream 2016-08-04 17:42:41 +10:00
9bbcfa6e63 make header paths more explicit 2016-04-05 11:06:35 +10:00
1de33ce53c debug: use new namespace 2015-10-29 10:45:42 +11:00
20bafa2cfb geom: move geometry primitives to own namespace 2015-10-13 18:19:47 +11:00