Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Sets obstacle as part of the navigation module.
bool set_obstacle(uint16_t id,const int32_t* lo,const int32_t* hi)Sets obstacle as part of the navigation module.
| Parameter | Type | Meaning |
|---|---|---|
id | uint16_t | Not documented; consult the linked header. |
lo | const int32_t * | Not documented; consult the linked header. |
hi | const int32_t * | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "navigation.hpp"
// Assume these named values have been initialized with valid data:
// uint16_t id
// const int32_t * lo
// const int32_t * hi
epok::nav::World& object = /* obtain a valid instance */;
auto result = object.set_obstacle(id, lo, hi);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/navigation.hpp:53
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