1 # Direct Geometry API not yet swigged
2 # Author: Daniel Brunier-Coulin
3 # -----------------------------
9 """A class to represent a Coordinate system object"""
11 def __init__(self, origin, normal, dirx):
13 ### Create an origin point
15 ### Create a normal vector
17 ### Create X axis direction
21 """Returns origin point"""
25 """Returns normal direction"""
28 def xDirection (self):
29 """Returns direction of X axis"""
32 def yDirection (self):
33 """Returns direction of Y axis"""
34 return self.n.cross(self.dx)