Package mapnik :: Class Envelope

Class Envelope

 object --+        
          |        
??.instance --+    
              |    
          Box2d --+
                  |
                 Envelope

Instance Methods
 
__init__(self, *args, **kwargs)
__init__( (object)arg1, (float)minx, (float)miny, (float)maxx, (float)maxy) -> None : Constructs a new envelope from the coordinates of its lower left and upper right corner points.

Inherited from Box2d: __add__, __deepcopy__, __div__, __eq__, __getinitargs__, __getitem__, __mul__, __ne__, __reduce__, __repr__, __rmul__, _c___repr__, center, clip, contains, expand_to_include, forward, height, intersect, intersects, inverse, valid, width

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods

Inherited from Box2d: from_string

Class Variables

Inherited from Box2d: __instance_size__, __safe_for_unpickling__, _c___doc__, _c___module__

Properties

Inherited from Box2d: maxx, maxy, minx, miny

Inherited from object: __class__

Method Details

__init__(self, *args, **kwargs)
(Constructor)

 

__init__( (object)arg1, (float)minx, (float)miny, (float)maxx, (float)maxy) -> None :
    Constructs a new envelope from the coordinates
    of its lower left and upper right corner points.
    

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

__init__( (object)arg1) -> None :
    Equivalent to Box2d(0, 0, -1, -1).
    

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (Coord)ll, (Coord)ur) -> None :
    Equivalent to Box2d(ll.x, ll.y, ur.x, ur.y).
    

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

Overrides: object.__init__
(inherited documentation)