Commit graph

18 commits

Author SHA1 Message Date
Alistair Riddoch
12f5af4819 size_t for indices 2012-01-30 13:23:18 +00:00
Alistair Riddoch
93631cc61d Simplify the way Shape templates convert from Atlas 2011-12-23 11:28:01 +00:00
Alistair Riddoch
defc48d663 Use the C++ standard way to get efficient math 2011-04-27 19:35:13 +01:00
Alistair Riddoch
d9b5670ec1 Merge branch 'master' of github.com:worldforge/cyphesis 2011-04-27 11:22:03 +01:00
Alistair Riddoch
626478ac7b Use WFMath::CoordType to avoid conversions 2011-04-27 11:09:07 +01:00
Alistair Riddoch
056ff0588f Add template instantiations that are needed with O2 2011-04-14 19:50:52 +01:00
Alistair Riddoch
2aa42234eb Fix the specialisation of getType() to be for Polygon 2011-02-22 21:28:14 +00:00
Alistair Riddoch
347b52b274 Add methods to get the bounding corners of a shape 2011-02-22 19:22:51 +00:00
Alistair Riddoch
2048504f86 Add new method exposing generating a 2D bbox footprint of a shape 2011-02-21 19:32:03 +00:00
Alistair Riddoch
211be361bb Rename getArea to area, as it feels cleaner 2011-02-21 19:20:05 +00:00
Alistair Riddoch
bf234b2fbb Add Shape method to determine area 2011-02-21 12:43:01 +00:00
Alistair Riddoch
9f467ca6de Catch conversion exceptions when reading shapes from Atlas 2011-02-20 21:22:38 +00:00
Alistair Riddoch
ca6f594b42 Fill in calls so that Shapes are now populated from Atlas data 2011-02-20 18:22:01 +00:00
Alistair Riddoch
f3b6bdf67c Add implementation of polygon scaling 2011-02-20 18:14:35 +00:00
Alistair Riddoch
08c6ed81a3 Add support for sending a representation of a shape to ostream 2011-02-20 16:03:39 +00:00
Alistair Riddoch
2af61b92cc Implement more shape stuff 2011-01-14 20:44:49 +00:00
Alistair Riddoch
9a7e127633 Try out WFMath style shape template 2011-01-13 12:51:29 +00:00
Alistair Riddoch
043d996752 Add basic interface for handling shapes in a way more friendly to Python 2011-01-12 18:35:16 +00:00