Package fife :: Module fife :: Class Point
[hide private]
[frames] | no frames]

Class Point

source code

_object --+
          |
         Point

Proxy of C++ FIFE::PointType2D<(int32_t)> class

Instance Methods [hide private]
 
__repr__(self)
repr(x)
source code
 
__init__(self, *args)
__init__(FIFE::PointType2D<(int32_t)> self, int _x=0, int _y=0) -> Point __init__(FIFE::PointType2D<(int32_t)> self, int _x=0) -> Point __init__(FIFE::PointType2D<(int32_t)> self) -> Point __init__(FIFE::PointType2D<(int32_t)> self, Point rhs) -> Point
source code
 
__add__(self, *args)
__add__(Point self, Point p) -> Point
source code
 
__sub__(self, *args)
__sub__(Point self, Point p) -> Point
source code
 
__iadd__(self, *args)
__iadd__(Point self, Point p) -> Point
source code
 
__isub__(self, *args)
__isub__(Point self, Point p) -> Point
source code
 
__mul__(self, *args)
__mul__(Point self, int const & i) -> Point
source code
 
__div__(self, *args)
__div__(Point self, int const & i) -> Point
source code
 
__eq__(self, *args)
__eq__(Point self, Point p) -> bool
source code
 
__ne__(self, *args)
__ne__(Point self, Point p) -> bool
source code
 
length(self)
length(Point self) -> int
source code
 
normalize(self)
normalize(Point self)
source code
 
rotate(self, *args)
rotate(Point self, int angle) rotate(Point self, Point origin, int angle)
source code
 
set(self, *args)
set(Point self, int _x, int _y)
source code
 
getX(self)
getX(Point self) -> int32_t
source code
 
getY(self)
getY(Point self) -> int32_t
source code
 
setX(self, *args)
setX(Point self, int32_t _x)
source code
 
setY(self, *args)
setY(Point self, int32_t _y)
source code
 
__str__(self)
__str__(Point self) -> std::string
source code
Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _fife.delete_Point
  __del__ = lambda self: