BatchIterator is now based on a new PointCloud trait that can be implemented by S2-based pointclouds in the future. Since impl Trait is disallowed in trait definitions, I removed the type parameter from FilteredPointsIterator and specialized it to only filter by PointCulling's contains method.
I moved the batch_iterator module to the top level as well and renamed intersects to intersects_aabb3, to contrast it with the planned intersects_s2_cell method.
BatchIterator
is now based on a newPointCloud
trait that can be implemented by S2-based pointclouds in the future. Sinceimpl Trait
is disallowed in trait definitions, I removed the type parameter fromFilteredPointsIterator
and specialized it to only filter byPointCulling
'scontains
method.I moved the
batch_iterator
module to the top level as well and renamedintersects
tointersects_aabb3
, to contrast it with the plannedintersects_s2_cell
method.