geometry_envelope - add missing linear_ring
This commit is contained in:
parent
fb94665fe3
commit
1b1df8abce
2 changed files with 16 additions and 9 deletions
|
@ -72,6 +72,12 @@ struct geometry_envelope
|
|||
}
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
void operator() (mapnik::geometry::linear_ring<T> const& ring) const
|
||||
{
|
||||
(*this)(static_cast<mapnik::geometry::line_string<T> const&>(ring));
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
void operator() (mapnik::geometry::polygon<T> const& poly) const
|
||||
{
|
||||
|
@ -149,4 +155,3 @@ mapnik::box2d<double> envelope(T const& geom)
|
|||
|
||||
} // end ns geometry
|
||||
} // end ns mapnik
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@ template MAPNIK_DECL mapnik::box2d<double> envelope(mapnik::base_symbolizer_help
|
|||
template MAPNIK_DECL mapnik::box2d<double> envelope(geometry_empty const& geom);
|
||||
template MAPNIK_DECL mapnik::box2d<double> envelope(point<double> const& geom);
|
||||
template MAPNIK_DECL mapnik::box2d<double> envelope(line_string<double> const& geom);
|
||||
template MAPNIK_DECL mapnik::box2d<double> envelope(linear_ring<double> const& geom);
|
||||
template MAPNIK_DECL mapnik::box2d<double> envelope(polygon<double> const& geom);
|
||||
template MAPNIK_DECL mapnik::box2d<double> envelope(multi_point<double> const& geom);
|
||||
template MAPNIK_DECL mapnik::box2d<double> envelope(multi_line_string<double> const& geom);
|
||||
|
@ -40,6 +41,7 @@ template MAPNIK_DECL mapnik::box2d<double> envelope(geometry_collection<double>
|
|||
template MAPNIK_DECL mapnik::box2d<double> envelope(geometry<std::int64_t> const& geom);
|
||||
template MAPNIK_DECL mapnik::box2d<double> envelope(point<std::int64_t> const& geom);
|
||||
template MAPNIK_DECL mapnik::box2d<double> envelope(line_string<std::int64_t> const& geom);
|
||||
template MAPNIK_DECL mapnik::box2d<double> envelope(linear_ring<std::int64_t> const& geom);
|
||||
template MAPNIK_DECL mapnik::box2d<double> envelope(polygon<std::int64_t> const& geom);
|
||||
template MAPNIK_DECL mapnik::box2d<double> envelope(multi_point<std::int64_t> const& geom);
|
||||
template MAPNIK_DECL mapnik::box2d<double> envelope(multi_line_string<std::int64_t> const& geom);
|
||||
|
|
Loading…
Reference in a new issue