/[escript]/tags/trunk_2172_checkpoint/pyvisi/py_src/position.py
ViewVC logotype

Diff of /tags/trunk_2172_checkpoint/pyvisi/py_src/position.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1147 by ksteube, Wed May 16 06:39:11 2007 UTC revision 1189 by jongui, Thu Jun 7 05:31:25 2007 UTC
# Line 17  class LocalPosition: Line 17  class LocalPosition:
17          @param y_coor: y coordinate          @param y_coor: y coordinate
18          """          """
19    
20            self.__x_coor = x_coor
21            self.__y_coor = y_coor
22          self.__position = [x_coor, y_coor]          self.__position = [x_coor, y_coor]
23    
24        def _getXCoor(self):
25            """
26            Return the X coordinate.
27    
28            @rtype: Number
29            @return: X coordinate
30            """
31    
32            return self.__x_coor
33    
34        def _getYCoor(self):
35            """
36            Return the Y coordinate.
37    
38            @rtype: Number
39            @return: Y coordinate
40            """
41    
42            return self.__y_coor
43    
44      def _getLocalPosition(self):      def _getLocalPosition(self):
45          """          """
46          Return the local position.          Return the local position.

Legend:
Removed from v.1147  
changed lines
  Added in v.1189

  ViewVC Help
Powered by ViewVC 1.1.26