aron_conversions.cpp
Go to the documentation of this file.
1
#include "
aron_conversions.h
"
2
#include <
armarx/navigation/conversions/eigen.h
>
3
4
5
namespace
armarx::navigation::rooms
6
{
7
8
9
void
10
toAron
(arondto::Room& dto,
const
Room
&
bo
)
11
{
12
dto.height =
bo
.height;
13
dto.name =
bo
.name;
14
dto.zFloor =
bo
.zFloor;
15
dto.polygon =
conv::to3D
(
bo
.polygon);
16
}
17
18
void
19
fromAron
(
const
arondto::Room& dto,
Room
&
bo
)
20
{
21
bo
.height = dto.height;
22
bo
.name = dto.name;
23
bo
.zFloor = dto.zFloor;
24
bo
.polygon =
conv::to2D
(dto.polygon);
25
}
26
27
}
// namespace armarx::navigation::rooms
armarx::navigation::rooms
This file is part of ArmarX.
Definition:
aron_conversions.cpp:5
armarx::navigation::rooms::toAron
void toAron(arondto::Room &dto, const Room &bo)
Definition:
aron_conversions.cpp:10
armarx::navigation::conv::to2D
std::vector< Eigen::Vector2f > to2D(const std::vector< Eigen::Vector3f > &v)
Definition:
eigen.cpp:26
armarx::navigation::rooms::fromAron
void fromAron(const arondto::Room &dto, Room &bo)
Definition:
aron_conversions.cpp:19
armarx::navigation::conv::to3D
std::vector< Eigen::Vector3f > to3D(const std::vector< Eigen::Vector2f > &v)
Definition:
eigen.cpp:11
eigen.h
armarx::navigation::rooms::Room
Definition:
types.h:31
armarx::aron::bo
const std::optional< BoT > & bo
Definition:
aron_conversions.h:168
aron_conversions.h
armarx
navigation
rooms
aron_conversions.cpp
Generated on Sat Oct 12 2024 09:14:08 for armarx_documentation by
1.8.17