Commit Graph

74 Commits

Author SHA1 Message Date
847242a59f Add scale operation for regions 2013-07-30 23:51:55 +10:00
baf8ded43d Add UNIT and MAX region objects 2012-06-15 16:38:57 +10:00
71c0f02873 Make region dimensions the same type as positions
There are just far too many warnings issued for signedness differences
for it to be practical to cast every time.
Unsignedness was hiding the issue of dimensions being larger than
positions could express anyway.
2012-06-14 18:30:08 +10:00
9447910061 Add structure for region iterator
It is not currently enabled as the exact semantics aren't really known,
but as we're likely to want something similar later then we shouldn't
throw the code away.
2012-06-14 18:29:09 +10:00
4fa7789786 Instantiate templates in their enclosing namespace 2012-06-13 16:01:42 +10:00
b960319436 Add position_type typedef for regions 2012-06-08 16:49:09 +10:00
45a1b6b93c Make width/height unsigned where possible 2012-05-25 15:30:28 +10:00
40c40507f9 Give vector and point templated dimension size 2012-05-18 17:56:24 +10:00
c1ba948b20 Add region::overlap to for overlapping regions 2012-05-11 12:22:23 +10:00
52d73a8070 Add comment that region::overlap excludes borders 2012-05-03 15:59:01 +10:00
77942e008d Change my email to an active domain 2012-04-23 13:10:50 +10:00
2cf895daf9 Change abbreviate width/height variables 2011-10-26 22:59:47 +11:00
f7075fd9d2 Add more operators to region 2011-10-26 21:43:55 +11:00
d1187ecf3a Moved extent to a seperate file 2011-10-26 21:43:38 +11:00
020a3a4afe Add diameter methods to region and extent 2011-10-24 19:55:51 +11:00
30060de999 Add region ostream operator 2011-10-20 23:53:30 +11:00
1f4a744b29 Add centre method to region 2011-10-20 23:53:18 +11:00
0347936983 Add region::contains method 2011-10-20 21:09:47 +11:00
b71049df85 Add includes query for region and point 2011-10-17 17:20:17 +11:00
e8c9e1a11f Add overlaps query for regions 2011-10-10 22:37:27 +11:00
e816983869 Use util namespace for range test 2011-08-29 15:03:43 +10:00
712cd39625 Move region to the util namespace 2011-08-15 20:10:43 +10:00
20f81a7630 Correct package name in copyright headers
Package is no longer waif, after its seperation from the waif
library/application. Hopefully there aren't any more dependencies...
2011-06-21 20:26:32 +10:00
745e06d1af initial import from waif 2011-05-23 17:18:52 +10:00