Room Struct Reference

#include <armarx/navigation/algorithms/Room.h>

Public Member Functions

std::tuple< Eigen::Vector2f, Eigen::Vector2f > aabb () const
 
Eigen::Vector2f center () const
 
bool isInside (const Eigen::Vector2f &point, float margin=0.F) const
 
bool isInside (const Eigen::Vector3f &point, bool restrictTo2dCheck=false) const
 

Public Attributes

float height
 
std::string name
 
std::vector< Eigen::Vector2f > polygon
 
float zFloor = 0
 

Member Function Documentation

◆ aabb()

std::tuple< Eigen::Vector2f, Eigen::Vector2f > aabb ( ) const

◆ center()

Eigen::Vector2f center ( ) const

◆ isInside() [1/2]

bool isInside ( const Eigen::Vector2f & point,
float margin = 0.F ) const

◆ isInside() [2/2]

bool isInside ( const Eigen::Vector3f & point,
bool restrictTo2dCheck = false ) const

Member Data Documentation

◆ height

float height

◆ name

std::string name

◆ polygon

std::vector<Eigen::Vector2f> polygon

◆ zFloor

float zFloor = 0

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