Olek Wojnar
7f9ff2246d
Remove CVS $Id tags
...
The legacy tags are causing build issues in Debian.
2013-07-15 20:31:59 +02:00
Alistair Riddoch
c6cab7b086
Add a virtual copy method to Shape
2013-01-27 01:10:05 +00:00
Alistair Riddoch
ff73a63129
Add outline method to the Shape interface
2012-05-01 20:54:00 +01:00
Alistair Riddoch
c0929e42c7
Fill out class used for courses of paths and rivers
...
This class implements the wfmath shape concept, but does so with
a different set of template args, so can only be used by other templates
which use the concept as a partial specialization. This is not
legal in C++ 98 so will only really be possible once we have a solid
C++ 11 compiler.
2012-04-26 21:00:23 +01:00
Alistair Riddoch
644a639654
Implement equality test for shapes
2012-04-05 20:05:25 +01:00
Alistair Riddoch
ef33478e91
Change the way errors are detected when converting from Atlas
...
WFMath can throw in a number of situations, and these exceptions
shouldn't make it to the Python wrappers.
2012-04-02 14:29:37 +01:00
Alistair Riddoch
4eb0af4359
Inline constructors, and use generic templates where possible
2012-04-01 21:18:11 +01:00
Alistair Riddoch
c8e57d01a6
Re-work all the shape code to be clearer
2012-03-31 02:18:33 +01:00
Alistair Riddoch
78efe61a46
Add a seriously odd sequence accessor
2012-03-27 20:38:13 +01:00
Alistair Riddoch
0218443109
Add support for WFMath::Line
2012-03-24 00:50:37 +00:00
Alistair Riddoch
12f5af4819
size_t for indices
2012-01-30 13:23:18 +00:00
Alistair Riddoch
8d114651cb
Remove unnecessary const on integer template param
2012-01-25 20:20:52 +00:00
Alistair Riddoch
901755b897
Add a centre function to the shape protocol
2012-01-25 20:18:48 +00:00
Alistair Riddoch
e9808e185f
Add an intersect method to the virtual shape wrapper
2012-01-10 14:07:52 +00:00
Alistair Riddoch
93631cc61d
Simplify the way Shape templates convert from Atlas
2011-12-23 11:28:01 +00:00
Alistair Riddoch
3f12ee4643
Add a default constructor for concrete shapes
2011-12-23 09:52:45 +00:00
Alistair Riddoch
626478ac7b
Use WFMath::CoordType to avoid conversions
2011-04-27 11:09:07 +01:00
Alistair Riddoch
105a7e0442
Fix the Shape constructors
2011-02-23 08:35:27 +00:00
Alistair Riddoch
fb63e2f783
Expose checking of wfmath object isValid
2011-02-23 08:14:49 +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
ca6f594b42
Fill in calls so that Shapes are now populated from Atlas data
2011-02-20 18:22:01 +00:00
Alistair Riddoch
ec330e60b0
Add stub for scaling shpaes
2011-02-20 17:18:47 +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
958c6a2d2a
Add member for storing wfmath shape data, and try and example method
2011-01-14 08:25:39 +00:00
Alistair Riddoch
e04aabb47b
Start work on a template to handle most WFMath shape classes
2011-01-13 12:50:55 +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