allow accessing geometry by ref

This commit is contained in:
artemp 2016-11-28 18:38:40 +01:00
parent cc9f23c470
commit f4f39993d0

View file

@ -208,6 +208,11 @@ public:
return geom_;
}
inline geometry::geometry<double> & get_geometry()
{
return geom_;
}
inline box2d<double> envelope() const
{
return mapnik::geometry::envelope(geom_);