Package mapnik :: Class Coord

Class Coord

 object --+    
          |    
??.instance --+
              |
             Coord
Known Subclasses:

Instance Methods
 
__add__(...)
__add__( (Coord)arg1, (Coord)arg2) -> object :
 
__div__(...)
__div__( (Coord)arg1, (float)arg2) -> object :
 
__eq__(...)
__eq__( (Coord)arg1, (Coord)arg2) -> object :
 
__getinitargs__(...)
__getinitargs__( (Coord)arg1) -> tuple :
 
__init__(...)
__init__( (object)arg1, (float)arg2, (float)arg3) -> None :
 
__mul__(...)
__mul__( (Coord)arg1, (float)arg2) -> object :
 
__radd__(...)
__radd__( (Coord)arg1, (float)arg2) -> object :
 
__reduce__(...)
helper for pickle
 
__repr__(self)
repr(x)
 
__rmul__(...)
__rmul__( (Coord)arg1, (float)arg2) -> object :
 
__sub__(...)
__sub__( (Coord)arg1, (Coord)arg2) -> object :
 
forward(self, obj)
 
inverse(self, obj)

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Class Variables
  __instance_size__ = 24
  __safe_for_unpickling__ = True
Properties
  x
  y

Inherited from object: __class__

Method Details

__add__(...)
(Addition operator)

 

__add__( (Coord)arg1, (Coord)arg2) -> object :

    C++ signature :
        _object* __add__(mapnik::coord<double, 2> {lvalue},mapnik::coord<double, 2>)

__add__( (Coord)arg1, (float)arg2) -> object :

    C++ signature :
        _object* __add__(mapnik::coord<double, 2> {lvalue},float)

__div__(...)

 

__div__( (Coord)arg1, (float)arg2) -> object :

    C++ signature :
        _object* __div__(mapnik::coord<double, 2> {lvalue},float)

__eq__(...)
(Equality operator)

 

__eq__( (Coord)arg1, (Coord)arg2) -> object :

    C++ signature :
        _object* __eq__(mapnik::coord<double, 2> {lvalue},mapnik::coord<double, 2>)

__getinitargs__(...)

 

__getinitargs__( (Coord)arg1) -> tuple :

    C++ signature :
        boost::python::tuple __getinitargs__(mapnik::coord<double, 2>)

__init__(...)
(Constructor)

 

__init__( (object)arg1, (float)arg2, (float)arg3) -> None :

    C++ signature :
        void __init__(_object*,double,double)

Overrides: object.__init__

__mul__(...)

 

__mul__( (Coord)arg1, (float)arg2) -> object :

    C++ signature :
        _object* __mul__(mapnik::coord<double, 2> {lvalue},float)

__radd__(...)
(Right-side addition operator)

 

__radd__( (Coord)arg1, (float)arg2) -> object :

    C++ signature :
        _object* __radd__(mapnik::coord<double, 2> {lvalue},float)

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__rmul__(...)

 

__rmul__( (Coord)arg1, (float)arg2) -> object :

    C++ signature :
        _object* __rmul__(mapnik::coord<double, 2> {lvalue},float)

__sub__(...)
(Subtraction operator)

 

__sub__( (Coord)arg1, (Coord)arg2) -> object :

    C++ signature :
        _object* __sub__(mapnik::coord<double, 2> {lvalue},mapnik::coord<double, 2>)

__sub__( (Coord)arg1, (float)arg2) -> object :

    C++ signature :
        _object* __sub__(mapnik::coord<double, 2> {lvalue},float)


Property Details

x

Get Method:
unreachable(...)
Set Method:
unreachable(...)

y

Get Method:
unreachable(...)
Set Method:
unreachable(...)