Add exact periodic neighborhood queries and measured scan baseline
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "evo/simulation/world.hpp"
|
||||
|
||||
namespace evo {
|
||||
// Read-only point-radius query on the proof torus. Inclusive radius, ascending
|
||||
// IDs, no implicit self exclusion. Caller must provide a stable world.
|
||||
[[nodiscard]] std::expected<std::vector<EntityId>, Error>
|
||||
query_neighbors(const SimulationWorld& world, Position2 center, Millimetres radius);
|
||||
} // namespace evo
|
||||
Reference in New Issue
Block a user