Why use it
The method is `const`, so it does not mutate the object through this API surface.
EPOK RUNTIME
Method · 1 overload
Performs `traversal` as part of the navigation module.
const Traversal* traversal(uint16_t from,uint16_t to)constPerforms `traversal` as part of the navigation module.
| Parameter | Type | Meaning |
|---|---|---|
from | uint16_t | Value supplied for from. Keep referenced or pointed-to data valid for the complete call. |
to | uint16_t | Value supplied for to. Keep referenced or pointed-to data valid for the complete call. |
Returns: const Traversal *. Check the value before continuing when it represents success, availability or a resource handle.
#include "navigation.hpp"
// Assume these named values have been initialized with valid data:
// uint16_t from
// uint16_t to
epok::nav::World& object = /* obtain a valid instance */;
auto result = object.traversal(from, to);The method is `const`, so it does not mutate the object through this API surface.
Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.
Declared in runtime/navigation.hpp:64
add_obstacleAdds obstacle as part of the navigation module.MethodcancelPerforms `cancel` as part of the navigation module.Methodedge_openPerforms `edge open` as part of the navigation module.MethodfloorBarycentric floor query in Q8; the closest reachable layer wins.MethodgetReturns get as part of the navigation module.MethodlocatePerforms `locate` as part of the navigation module.MethodoccupyPerforms `occupy` as part of the navigation module.MethodrebuildReplace the current topology (procedural levels/streaming).Methodremove_obstacleRemoves obstacle as part of the navigation module.MethodreplanPerforms `replan` as part of the navigation module.MethodrequestRequests request as part of the navigation module.MethodreservePerforms `reserve` as part of the navigation module.Method