AABB.cpp
Go to the documentation of this file.
1
#include "
AABB.h
"
2
3
4
namespace
visionx
5
{
6
BoundingBox3D
tools::toBoundingBox3D
(
const
Eigen::Vector3f&
min
,
const
Eigen::Vector3f&
max
)
7
{
8
visionx::BoundingBox3D bb;
9
bb.x0 =
min
.x();
10
bb.x1 =
max
.x();
11
bb.y0 =
min
.y();
12
bb.y1 =
max
.y();
13
bb.z0 =
min
.z();
14
bb.z1 =
max
.z();
15
return
bb;
16
}
17
18
BoundingBox3D
tools::toBoundingBox3D
(
const
simox::AxisAlignedBoundingBox
& aabb)
19
{
20
return
toBoundingBox3D
(aabb.min(), aabb.max());
21
}
22
23
simox::AxisAlignedBoundingBox
tools::toAABB
(
const
BoundingBox3D& bb)
24
{
25
return
simox::AxisAlignedBoundingBox
(bb.x0, bb.x1, bb.y0, bb.y1, bb.z0, bb.z1);
26
}
27
}
visionx
ArmarX headers.
Definition:
OpenPoseStressTest.h:38
visionx::tools::toBoundingBox3D
BoundingBox3D toBoundingBox3D(const Eigen::Vector3f &min, const Eigen::Vector3f &max)
Definition:
AABB.cpp:6
armarx::aron::simox::arondto::AxisAlignedBoundingBox
::simox::arondto::AxisAlignedBoundingBox AxisAlignedBoundingBox
Definition:
simox.h:14
max
T max(T t1, T t2)
Definition:
gdiam.h:48
AABB.h
min
T min(T t1, T t2)
Definition:
gdiam.h:42
visionx::tools::toAABB
simox::AxisAlignedBoundingBox toAABB(const BoundingBox3D &boundingBox)
Definition:
AABB.cpp:23
VisionX
libraries
PointCloudTools
AABB.cpp
Generated on Sat Oct 12 2024 09:14:18 for armarx_documentation by
1.8.17