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
 
envelope(...)
envelope( (Geometry2d)arg1) -> Box2d :
 
to_svg(...)
to_svg( (Geometry2d)arg1) -> str :
 
to_wkb(...)
to_wkb( (Geometry2d)arg1, (wkbByteOrder)arg2) -> object :
 
to_wkt(...)
to_wkt( (Geometry2d)arg1) -> str :
 
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)

envelope(...)

 

envelope( (Geometry2d)arg1) -> Box2d :

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

to_svg(...)

 

to_svg( (Geometry2d)arg1) -> str :

    C++ signature :
        std::string to_svg(mapnik::geometry<double, mapnik::vertex_vector>)

to_wkb(...)

 

to_wkb( (Geometry2d)arg1, (wkbByteOrder)arg2) -> object :

    C++ signature :
        _object* to_wkb(mapnik::geometry<double, mapnik::vertex_vector>,mapnik::util::wkbByteOrder)

to_wkt(...)

 

to_wkt( (Geometry2d)arg1) -> str :

    C++ signature :
        std::string to_wkt(mapnik::geometry<double, mapnik::vertex_vector>)

type(...)

 

type( (Geometry2d)arg1) -> GeometryType :

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