Why use it
It provides direct, allocation-conscious access to the navigation module. No exception-based error path is implied by the signature.
EPOK RUNTIME
Method · 1 overload
Performs `locate` as part of the navigation module.
void locate(Handle h,const int32_t* p)Performs `locate` as part of the navigation module.
| Parameter | Type | Meaning |
|---|---|---|
h | Handle | Value supplied for h. Keep referenced or pointed-to data valid for the complete call. |
p | const int32_t * | Value supplied for p. Keep referenced or pointed-to data valid for the complete call. |
Returns: Nothing (void).
#include "navigation.hpp"
// Assume these named values have been initialized with valid data:
// Handle h
// const int32_t * p
epok::nav::World& object = /* obtain a valid instance */;
object.locate(h, p);It provides direct, allocation-conscious access to the navigation module. No exception-based error path is implied by the signature.
Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.
Declared in runtime/navigation.hpp:67
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.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.MethodresetResets reset as part of the navigation module.Method