auto findWithin3d(LayerT &layer, const GeometryT &geometry, double maxDist) -> std::vector< std::pair< double, traits::LayerPrimitiveType< LayerT >>>
Returns all elements that are closer than maxDist to a geometry in 3d.
auto findWithin2d(LayerT &layer, const GeometryT &geometry, double maxDist) -> std::vector< std::pair< double, traits::LayerPrimitiveType< LayerT >>>
Returns all elements that are closer than maxDist to a geometry in 2d.