From 8ca85c95c6d31d6100560973dfa3cdd02a38b405 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Mon, 28 Feb 2011 12:41:07 +0000 Subject: [PATCH] + reflect 'area' method --- bindings/python/mapnik_geometry.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/python/mapnik_geometry.cpp b/bindings/python/mapnik_geometry.cpp index b24e11dcd..2ad93393d 100644 --- a/bindings/python/mapnik_geometry.cpp +++ b/bindings/python/mapnik_geometry.cpp @@ -66,6 +66,7 @@ void export_geometry() .def("envelope",&geometry_type::envelope) // .def("__str__",&geometry_type::to_string) .def("type",&geometry_type::type) + .def("area",&geometry_type::area) // TODO add other geometry_type methods ; }