NavMap
Loading...
Searching...
No Matches
NavMap::LocateOpts Struct Reference

Options for the locate functions. More...

#include <NavMap.hpp>

Collaboration diagram for NavMap::LocateOpts:

Public Attributes

float height_eps = 0.50f
 Z tolerance for vertical fallback (meters)
 
std::optional< NavCelIdhint_cid
 Optional triangle hint for walking.
 
std::optional< size_t > hint_surface
 Optional surface hint.
 
float planar_eps = 1e-4f
 In-plane barycentric tolerance.
 
bool use_downward_ray = true
 Downward ray on fallback (else upward)
 

Detailed Description

Options for the locate functions.

  • hint_cid : starting triangle for walking (if provided).
  • hint_surface : optional surface restriction.
  • planar_eps : in-triangle barycentric tolerance.
  • height_eps : vertical tolerance when gating by AABB / fallback.
  • use_downward_ray : select downward or upward vertical ray fallback.

Member Data Documentation

◆ height_eps

float height_eps = 0.50f

Z tolerance for vertical fallback (meters)

◆ hint_cid

std::optional<NavCelId> hint_cid

Optional triangle hint for walking.

◆ hint_surface

std::optional<size_t> hint_surface

Optional surface hint.

◆ planar_eps

float planar_eps = 1e-4f

In-plane barycentric tolerance.

◆ use_downward_ray

bool use_downward_ray = true

Downward ray on fallback (else upward)


The documentation for this struct was generated from the following file: