Box Struct Reference

An axis-aligned box obstacle in the ground plane. More...

#include <armarx/navigation/applications/global_planning_analysis/Scene.h>

Public Member Functions

float distanceTo (const Eigen::Vector2f &p) const
 Distance from p to the box surface. Zero if p is inside the box.
 

Public Attributes

Eigen::Vector2f max
 
Eigen::Vector2f min
 

Detailed Description

An axis-aligned box obstacle in the ground plane.

Definition at line 40 of file Scene.h.

Member Function Documentation

◆ distanceTo()

float distanceTo ( const Eigen::Vector2f & p) const

Distance from p to the box surface. Zero if p is inside the box.

Definition at line 68 of file Scene.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ max

Eigen::Vector2f max

Definition at line 44 of file Scene.h.

◆ min

Eigen::Vector2f min

Definition at line 42 of file Scene.h.


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