NavMap
Loading...
Searching...
No Matches
navmap::detail Namespace Reference

Functions

bool boxes_overlap (const AABB &a, const AABB &b)
template<class F>
bool for_each_on_segment_impl (const NavMap &nm, NavCelId seed, const Eigen::Vector3f &a, const Eigen::Vector3f &b, F &&f)
template<class F>
std::size_t grow (const NavMap &nm, NavCelId seed, const Eigen::Vector3f &center, float r_in, float r_out, Metric metric, bool with_seed, TraversalScratch *scratch, F &f)
bool in_polygon (const std::vector< Eigen::Vector2f > &poly, float x, float y)
AABB navcel_box (const NavMap &nm, NavCelId cid)
bool seed_at (const NavMap &nm, const Eigen::Vector3f &p, NavCelId &seed)
template<class F, class ... A>
bool visit (F &f, A &&... a)

Variables

constexpr NavCelId kNoCel = std::numeric_limits<NavCelId>::max()

Function Documentation

◆ boxes_overlap()

bool boxes_overlap ( const AABB & a,
const AABB & b )

◆ for_each_on_segment_impl()

template<class F>
bool for_each_on_segment_impl ( const NavMap & nm,
NavCelId seed,
const Eigen::Vector3f & a,
const Eigen::Vector3f & b,
F && f )

◆ grow()

template<class F>
std::size_t grow ( const NavMap & nm,
NavCelId seed,
const Eigen::Vector3f & center,
float r_in,
float r_out,
Metric metric,
bool with_seed,
TraversalScratch * scratch,
F & f )

◆ in_polygon()

bool in_polygon ( const std::vector< Eigen::Vector2f > & poly,
float x,
float y )

◆ navcel_box()

AABB navcel_box ( const NavMap & nm,
NavCelId cid )

◆ seed_at()

bool seed_at ( const NavMap & nm,
const Eigen::Vector3f & p,
NavCelId & seed )

◆ visit()

template<class F, class ... A>
bool visit ( F & f,
A &&... a )

Variable Documentation

◆ kNoCel

NavCelId kNoCel = std::numeric_limits<NavCelId>::max()
constexpr