Salome HOME
Create folder model for sphinx documentation
[modules/shaper.git] / src / PythonAPI / geom / missed.py
index 0aa6db1e394b82a2d65d8e9ef012387f920f542f..247cfef3a99d0d7926396484f50ce7cf85323b28 100644 (file)
@@ -2,24 +2,33 @@
 # Author: Daniel Brunier-Coulin
 # -----------------------------
 
-from GeomAPI import *
+#from GeomAPI import *
 
 
 class Ax3:
+  """A class to represent a Coordinate system object"""
 
   def __init__(self, origin, normal, dirx):
+    """Constructor"""
+    ### Create an origin point
     self.o  = origin
+    ### Create a normal vector
     self.n  = normal
+    ### Create X axis direction
     self.dx = dirx
 
   def location (self):
+    """Returns origin point"""
     return self.o
 
   def direction (self):
+    """Returns normal direction"""
     return self.n
 
   def xDirection (self):
+    """Returns direction of X axis"""
     return self.dx
 
   def yDirection (self):
+    """Returns direction of Y axis"""
     return self.n.cross(self.dx)