diff options
Diffstat (limited to '')
-rw-r--r-- | src/3rdparty/2geom/src/python/cy2geom_example.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/3rdparty/2geom/src/python/cy2geom_example.py b/src/3rdparty/2geom/src/python/cy2geom_example.py new file mode 100644 index 0000000..aca7dca --- /dev/null +++ b/src/3rdparty/2geom/src/python/cy2geom_example.py @@ -0,0 +1,10 @@ +#!/usr/bin/python + +import cy2geom +from cy2geom import * + +a = Point(1,2) +b = Point(31,2) +print a, b +print Point.dot(a,b) +print Point.unit_vector(a) |