Commit graph

41 commits

Author SHA1 Message Date
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
9e7e8a5a3d Fix format mismatch bug 2012-12-24 10:49:56 +00:00
Alistair Riddoch
f5ab3410b2 Slightly improve performance
We know the points are ordered here, so skip the library code which checks
and reorders if necessary.
2012-12-18 10:00:04 +00:00
Alistair Riddoch
1490320103 Add casts for size types to ensure a match 2012-11-12 22:01:15 +00:00
Alistair Riddoch
f0ed855ead Add stub Python wrapper for LinearCourse 2012-04-30 10:05:02 +01:00
Alistair Riddoch
edb3e77d37 De-dup some code, and add some checks 2012-04-02 16:38:02 +01:00
Alistair Riddoch
517d09b945 Detect errors in the data conversion, and report 2012-04-02 15:14:35 +01:00
Alistair Riddoch
8dc4657a6d Fix up some error messages 2012-04-02 11:45:03 +01:00
Alistair Riddoch
d5d43d419b Add a couple of missed memory checks 2012-03-31 12:40:02 +01:00
Alistair Riddoch
461ed495e0 Implent 2D corners 2012-03-31 12:39:28 +01:00
Alistair Riddoch
c8e57d01a6 Re-work all the shape code to be clearer 2012-03-31 02:18:33 +01:00
Alistair Riddoch
05121841ae Add sequence operator to access corners 2012-03-29 10:19:46 +01:00
Alistair Riddoch
e01a834ae3 _init should genuinely initialize the object 2012-03-27 17:29:42 +01:00
Alistair Riddoch
061d8968a9 Add a separate wrapper for Box with extrude()
The new method allows a footprint box to be expanded into a bounding box
2012-03-27 17:20:44 +01:00
Alistair Riddoch
b86728777e Fix the generic init template so it really is generic 2012-03-27 09:40:44 +01:00
Alistair Riddoch
37cdf30979 Fix Line in a few places 2012-03-27 09:35:04 +01:00
Alistair Riddoch
4cf8d1bcb3 Add Python constructor and type for Line shape 2012-03-26 10:10:52 +01:00
Alistair Riddoch
275c6379e7 Add Python bindings for Shape centre function 2012-01-25 20:27:09 +00:00
Alistair Riddoch
1cb4ee8b08 Allow this Polygin wrapper to init from Atlas data 2011-12-23 17:18:49 +00:00
Alistair Riddoch
d01a00460e Add a subclass wrapper for Polygon 2011-12-23 10:51:07 +00:00
Alistair Riddoch
066e0b73ea Fix type name 2011-12-23 09:41:44 +00:00
Alistair Riddoch
a77e9c317a Correct a bunch of error messages 2011-12-23 09:30:37 +00:00
Alistair Riddoch
ec1bdd6051 Correct an error message 2011-12-23 09:25:09 +00:00
Alistair Riddoch
05ed20ea6c Bring the Shape wrapper up to date 2011-12-22 18:21:29 +00:00
Alistair Riddoch
37af9d656f Add init to Shape wrapper, and fill out tests
Now it is possible to init a shape from Python, the test
can actually try out the methods
2011-12-22 17:46:52 +00:00
Alistair Riddoch
69dd426b6e Return the correct value for an int 2011-02-24 23:47:45 +00:00
Alistair Riddoch
6778c58119 Add binding to extract representation of a shape as Python data 2011-02-23 13:46:14 +00:00
Alistair Riddoch
fb18336871 Remove blatant debug output 2011-02-23 13:04:31 +00:00
Alistair Riddoch
3995368516 Add Python wrappers for footprint, lowCorner and highCorner 2011-02-22 19:35:28 +00:00
Alistair Riddoch
d119a3b600 Update binding for renamed method 2011-02-21 19:21:05 +00:00
Alistair Riddoch
c09e2e4f44 Add binding for Shape area 2011-02-21 16:17:38 +00:00
Alistair Riddoch
3b7b926a1e Add scaling in inplace_multiply 2011-02-20 17:19:01 +00:00
Alistair Riddoch
6a8330d8e3 Add stub inplace multiply for shapes to experiement 2011-02-20 16:06:33 +00:00
Alistair Riddoch
a24fe1576b Modify Python repr protocol to get real representation using streaming 2011-02-20 16:05:53 +00:00
Alistair Riddoch
bbf22786d9 Merge branch 'master' of ssh://git.worldforge.org/data/git/cyphesis 2011-02-20 15:26:13 +00:00
Alistair Riddoch
75f88d44a1 Add protocol for numeric operations to Shape Python wrapper 2011-02-20 15:25:28 +00:00
Alistair Riddoch
fd60720073 Fix name of type in one more place 2011-02-20 15:22:20 +00:00
Alistair Riddoch
610e764730 Fix name of type in various places 2011-02-20 15:21:59 +00:00
Alistair Riddoch
89af440949 Add in a stub representation for debugging 2011-01-17 21:10:47 +00:00
Alistair Riddoch
511e059a73 Expose the first Shape method to Python 2011-01-14 08:26:24 +00:00
Alistair Riddoch
7ed01b12f0 Add Python wrapper for physics/Shape 2011-01-13 19:32:24 +00:00