types.h
Go to the documentation of this file.
1
/**
2
* This file is part of ArmarX.
3
*
4
* ArmarX is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*
8
* ArmarX is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* @author Fabian Reister ( fabian dot reister at kit dot edu )
17
* @date 2023
18
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19
* GNU General Public License
20
*/
21
22
#pragma once
23
24
#include <vector>
25
26
#include <Eigen/Core>
27
28
namespace
armarx::navigation::rooms
29
{
30
31
struct
Room
32
{
33
std::string
name
;
34
35
std::vector<Eigen::Vector2f>
polygon
;
36
float
height
;
37
38
float
zFloor
= 0;
39
40
bool
isInside
(
const
Eigen::Vector3f& point)
const
;
41
};
42
43
}
// namespace armarx::navigation::rooms
armarx::navigation::rooms::Room::height
float height
Definition:
types.h:36
armarx::navigation::rooms
This file is part of ArmarX.
Definition:
aron_conversions.cpp:5
armarx::navigation::rooms::Room::polygon
std::vector< Eigen::Vector2f > polygon
Definition:
types.h:35
armarx::navigation::rooms::Room::name
std::string name
Definition:
types.h:33
armarx::navigation::rooms::Room
Definition:
types.h:31
armarx::navigation::rooms::Room::isInside
bool isInside(const Eigen::Vector3f &point) const
Definition:
types.cpp:14
armarx::navigation::rooms::Room::zFloor
float zFloor
Definition:
types.h:38
armarx
navigation
rooms
types.h
Generated on Sat Oct 12 2024 09:14:09 for armarx_documentation by
1.8.17