Commit graph

24 commits

Author SHA1 Message Date
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