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) 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
 

Detailed Description

Definition at line 33 of file Room.h.

Member Function Documentation

◆ aabb()

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

Definition at line 45 of file Room.cpp.

+ Here is the call graph for this function:

◆ center()

Eigen::Vector2f center ( ) const

Definition at line 34 of file Room.cpp.

+ Here is the call graph for this function:

◆ isInside() [1/2]

bool isInside ( const Eigen::Vector2f &  point) const

Definition at line 57 of file Room.cpp.

+ Here is the call graph for this function:

◆ isInside() [2/2]

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

Definition at line 17 of file Room.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ height

float height

Definition at line 38 of file Room.h.

◆ name

std::string name

Definition at line 35 of file Room.h.

◆ polygon

std::vector<Eigen::Vector2f> polygon

Definition at line 37 of file Room.h.

◆ zFloor

float zFloor = 0

Definition at line 40 of file Room.h.


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