allow accessing geometry by ref
This commit is contained in:
parent
cc9f23c470
commit
f4f39993d0
1 changed files with 5 additions and 0 deletions
|
@ -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_);
|
||||
|
|
Loading…
Reference in a new issue