Package mapnik :: Class Envelope

Class Envelope

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

A spatial envelope (i.e. bounding box) which also defines some basic operators.

Instance Methods
 
__add__(...)
__add__( (Envelope)arg1, (Envelope)arg2) -> object :
 
__div__(...)
__div__( (Envelope)arg1, (float)arg2) -> object :
 
__eq__(...)
__eq__( (Envelope)arg1, (Envelope)arg2) -> object :
 
__getinitargs__(...)
__getinitargs__( (Envelope)arg1) -> tuple :
 
__init__(...)
__init__( (object)arg1, (float)arg2, (float)arg3, (float)arg4, (float)arg5) -> None :
 
__mul__(...)
__mul__( (Envelope)arg1, (float)arg2) -> object :
 
__reduce__(...)
helper for pickle
 
__repr__(self)
repr(x)
 
__rmul__(...)
__rmul__( (Envelope)arg1, (float)arg2) -> object :
 
__sub__(...)
__sub__( (Envelope)arg1, (Envelope)arg2) -> object :
 
center(...)
center( (Envelope)arg1) -> Coord :
 
contains(...)
contains( (Envelope)arg1, (float)arg2, (float)arg3) -> bool :
 
expand_to_include(...)
expand_to_include( (Envelope)arg1, (float)arg2, (float)arg3) -> None :
 
forward(self, obj)
 
height(...)
height( (Envelope)arg1, (float)arg2) -> None :
 
intersect(...)
intersect( (Envelope)arg1, (Envelope)arg2) -> Envelope :
 
intersects(...)
intersects( (Envelope)arg1, (float)arg2, (float)arg3) -> bool :
 
inverse(self, obj)
 
width(...)
width( (Envelope)arg1, (float)arg2) -> None :

Inherited from unreachable.instance: __new__

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

Class Variables
  __instance_size__ = 40
  __safe_for_unpickling__ = True
Properties
  maxx
X coordinate for the upper right corner
  maxy
Y coordinate for the upper right corner
  minx
X coordinate for the lower left corner
  miny
Y coordinate for the lower left corner

Inherited from object: __class__

Method Details

__add__(...)
(Addition operator)

 

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

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

__div__(...)

 

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

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

__eq__(...)
(Equality operator)

 

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

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

__getinitargs__(...)

 

__getinitargs__( (Envelope)arg1) -> tuple :

    C++ signature :
        boost::python::tuple __getinitargs__(mapnik::Envelope<double>)

__init__(...)
(Constructor)

 

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

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

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

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

    C++ signature :
        void __init__(_object*,mapnik::coord<double, 2>,mapnik::coord<double, 2>)

Overrides: object.__init__

__mul__(...)

 

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

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

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__rmul__(...)

 

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

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

__sub__(...)
(Subtraction operator)

 

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

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

center(...)

 

center( (Envelope)arg1) -> Coord :

    C++ signature :
        mapnik::coord<double, 2> center(mapnik::Envelope<double> {lvalue})

center( (Envelope)arg1, (float)arg2, (float)arg3) -> None :

    C++ signature :
        void center(mapnik::Envelope<double> {lvalue},double,double)

contains(...)

 

contains( (Envelope)arg1, (float)arg2, (float)arg3) -> bool :

    C++ signature :
        bool contains(mapnik::Envelope<double> {lvalue},double,double)

contains( (Envelope)arg1, (Coord)arg2) -> bool :

    C++ signature :
        bool contains(mapnik::Envelope<double> {lvalue},mapnik::coord<double, 2>)

contains( (Envelope)arg1, (Envelope)arg2) -> bool :

    C++ signature :
        bool contains(mapnik::Envelope<double> {lvalue},mapnik::Envelope<double>)

expand_to_include(...)

 

expand_to_include( (Envelope)arg1, (float)arg2, (float)arg3) -> None :

    C++ signature :
        void expand_to_include(mapnik::Envelope<double> {lvalue},double,double)

expand_to_include( (Envelope)arg1, (Coord)arg2) -> None :

    C++ signature :
        void expand_to_include(mapnik::Envelope<double> {lvalue},mapnik::coord<double, 2>)

expand_to_include( (Envelope)arg1, (Envelope)arg2) -> None :

    C++ signature :
        void expand_to_include(mapnik::Envelope<double> {lvalue},mapnik::Envelope<double>)

height(...)

 

height( (Envelope)arg1, (float)arg2) -> None :

    C++ signature :
        void height(mapnik::Envelope<double> {lvalue},double)

height( (Envelope)arg1) -> float :

    C++ signature :
        double height(mapnik::Envelope<double> {lvalue})

intersect(...)

 

intersect( (Envelope)arg1, (Envelope)arg2) -> Envelope :

    C++ signature :
        mapnik::Envelope<double> intersect(mapnik::Envelope<double> {lvalue},mapnik::Envelope<double>)

intersects(...)

 

intersects( (Envelope)arg1, (float)arg2, (float)arg3) -> bool :

    C++ signature :
        bool intersects(mapnik::Envelope<double> {lvalue},double,double)

intersects( (Envelope)arg1, (Coord)arg2) -> bool :

    C++ signature :
        bool intersects(mapnik::Envelope<double> {lvalue},mapnik::coord<double, 2>)

intersects( (Envelope)arg1, (Envelope)arg2) -> bool :

    C++ signature :
        bool intersects(mapnik::Envelope<double> {lvalue},mapnik::Envelope<double>)

width(...)

 

width( (Envelope)arg1, (float)arg2) -> None :

    C++ signature :
        void width(mapnik::Envelope<double> {lvalue},double)

width( (Envelope)arg1) -> float :

    C++ signature :
        double width(mapnik::Envelope<double> {lvalue})


Property Details

maxx

X coordinate for the upper right corner

Get Method:
unreachable(...)

maxy

Y coordinate for the upper right corner

Get Method:
unreachable(...)

minx

X coordinate for the lower left corner

Get Method:
unreachable(...)

miny

Y coordinate for the lower left corner

Get Method:
unreachable(...)