Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
1df10027
Commit
1df10027
authored
Oct 01, 2019
by
Lucile Remigy
Browse files
reorganize the file'
parent
cd2a4395
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/hpp/fcl/data_types.h
View file @
1df10027
...
...
@@ -44,16 +44,34 @@
#include
<Eigen/Core>
#include
<Eigen/Geometry>
namespace
hpp
{
#ifdef HPP_FCL_HAVE_OCTOMAP
#define OCTOMAP_VERSION_AT_LEAST(x,y,z) \
(OCTOMAP_MAJOR_VERSION > x || (OCTOMAP_MAJOR_VERSION >= x && \
(OCTOMAP_MINOR_VERSION > y || (OCTOMAP_MINOR_VERSION >= y && \
OCTOMAP_PATCH_VERSION >= z))))
#define OCTOMAP_VERSION_AT_MOST(x,y,z) \
(OCTOMAP_MAJOR_VERSION < x || (OCTOMAP_MAJOR_VERSION <= x && \
(OCTOMAP_MINOR_VERSION < y || (OCTOMAP_MINOR_VERSION <= y && \
OCTOMAP_PATCH_VERSION <= z))))
#endif // HPP_FCL_HAVE_OCTOMAP
}
namespace
hpp
{
namespace
fcl
{
typedef
double
FCL_REAL
;
typedef
boost
::
uint64_t
FCL_INT64
;
typedef
boost
::
int64_t
FCL_UINT64
;
typedef
boost
::
uint32_t
FCL_UINT32
;
typedef
boost
::
int32_t
FCL_INT32
;
typedef
Eigen
::
Matrix
<
FCL_REAL
,
3
,
1
>
Vec3f
;
typedef
Eigen
::
Matrix
<
FCL_REAL
,
3
,
3
>
Matrix3f
;
/// @brief Triangle with 3 indices for points
class
Triangle
...
...
@@ -87,31 +105,5 @@ public:
}
// namespace hpp
namespace
hpp
{
#ifdef HPP_FCL_HAVE_OCTOMAP
#define OCTOMAP_VERSION_AT_LEAST(x,y,z) \
(OCTOMAP_MAJOR_VERSION > x || (OCTOMAP_MAJOR_VERSION >= x && \
(OCTOMAP_MINOR_VERSION > y || (OCTOMAP_MINOR_VERSION >= y && \
OCTOMAP_PATCH_VERSION >= z))))
#define OCTOMAP_VERSION_AT_MOST(x,y,z) \
(OCTOMAP_MAJOR_VERSION < x || (OCTOMAP_MAJOR_VERSION <= x && \
(OCTOMAP_MINOR_VERSION < y || (OCTOMAP_MINOR_VERSION <= y && \
OCTOMAP_PATCH_VERSION <= z))))
#endif // HPP_FCL_HAVE_OCTOMAP
}
namespace
hpp
{
namespace
fcl
{
typedef
Eigen
::
Matrix
<
FCL_REAL
,
3
,
1
>
Vec3f
;
typedef
Eigen
::
Matrix
<
FCL_REAL
,
3
,
3
>
Matrix3f
;
}
}
// namespace hpp
#endif
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment