implement grow() for spatial3d intersector: easy speedup

This commit is contained in:
Robert Muir 2016-04-24 20:09:05 -04:00
parent 0dc32e3d6b
commit e3e9114921
1 changed files with 5 additions and 0 deletions

View File

@ -38,6 +38,11 @@ class PointInShapeIntersectVisitor implements IntersectVisitor {
this.shapeBounds = shapeBounds;
}
@Override
public void grow(int count) {
hits.grow(count);
}
@Override
public void visit(int docID) {
hits.add(docID);