Package mapnik :: Module _mapnik :: Class Geometry2d

Class Geometry2d

 object --+    
          |    
??.instance --+
              |
             Geometry2d

Instance Methods
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
__reduce__(...)
helper for pickle
 
area(...)
area( (Geometry2d)arg1) -> float :
 
envelope(...)
envelope( (Geometry2d)arg1) -> Box2d :
 
type(...)
type( (Geometry2d)arg1) -> GeometryType :

Inherited from unreachable.instance: __new__

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

Properties

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

Raises an exception This class cannot be instantiated from Python

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

area(...)

 

area( (Geometry2d)arg1) -> float :

    C++ signature :
        double area(mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector> {lvalue})

envelope(...)

 

envelope( (Geometry2d)arg1) -> Box2d :

    C++ signature :
        mapnik::box2d<double> envelope(mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector> {lvalue})

type(...)

 

type( (Geometry2d)arg1) -> GeometryType :

    C++ signature :
        mapnik::eGeomType type(mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector> {lvalue})