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.
Whether the region is the one to plan from `p`: inside the grid, or on the mesh.
bool covers(const Fixed* p) constWhether the region is the one to plan from `p`: inside the grid, or on the mesh.
| Parameter | Type | Meaning |
|---|---|---|
p | const Fixed * | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "world2d_navigation.hpp"
// Assume these named values have been initialized with valid data:
// const Fixed * p
epok::NavigationRegion2DComponent& object = /* obtain a valid instance */;
auto result = object.covers(p);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_navigation.hpp:450
~NavigationRegion2DComponentReleases the resources owned by `epok::NavigationRegion2DComponent`.destructorclass_idPerforms `class id` as part of the world2d navigation module.Methodfind_pathFinds path as part of the world2d navigation module.Methodis_enabledReports whether enabled as part of the world2d navigation module.Methodis_walkableWhether a world point is inside the region and free to walk on.Methodlevel_attachedPerforms `level attached` as part of the world2d navigation module.Methodset_enabledSets enabled as part of the world2d navigation module.Method