Package esys :: Package pyvisi :: Module position :: Class LocalPosition
[hide private]
[frames] | no frames]

Class LocalPosition

Class that defines the local positioning (X and Y)coordiante system (2D).

Instance Methods [hide private]
 
__init__(self, x_coor, y_coor)
Initialise the local position.
Two column tuple containing numbers
_getLocalPosition(self)
Return the local position.
Number
_getXCoor(self)
Return the X coordinate.
Number
_getYCoor(self)
Return the Y coordinate.
Method Details [hide private]

__init__(self, x_coor, y_coor)
(Constructor)

 

Initialise the local position.

Parameters:
  • x_coor (Number) - x coordinate
  • y_coor (Number) - y coordinate

_getLocalPosition(self)

 

Return the local position.

Returns: Two column tuple containing numbers
Tuple with the x and y coordinates

_getXCoor(self)

 

Return the X coordinate.

Returns: Number
X coordinate

_getYCoor(self)

 

Return the Y coordinate.

Returns: Number
Y coordinate