enable contruction of a memory_featureset from a std::vector<feature_ptr>
This commit is contained in:
parent
e660781694
commit
3c14ada217
1 changed files with 7 additions and 0 deletions
|
@ -37,6 +37,13 @@ public:
|
||||||
pos_(ds.features_.begin()),
|
pos_(ds.features_.begin()),
|
||||||
end_(ds.features_.end())
|
end_(ds.features_.end())
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
memory_featureset(box2d<double> const& bbox, std::vector<feature_ptr> const& features)
|
||||||
|
: bbox_(bbox),
|
||||||
|
pos_(features.begin()),
|
||||||
|
end_(features.end())
|
||||||
|
{}
|
||||||
|
|
||||||
virtual ~memory_featureset() {}
|
virtual ~memory_featureset() {}
|
||||||
|
|
||||||
feature_ptr next()
|
feature_ptr next()
|
||||||
|
|
Loading…
Reference in a new issue