1 2 3 4 5 6 7 8 9 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)