Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
coal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coal
coal
Commits
d54f7ee8
Commit
d54f7ee8
authored
5 years ago
by
Joseph Mirabel
Browse files
Options
Downloads
Patches
Plain Diff
Ensure backward compatiblity.
parent
e64e9ca7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/hpp/fcl/collision_data.h
+17
-3
17 additions, 3 deletions
include/hpp/fcl/collision_data.h
with
17 additions
and
3 deletions
include/hpp/fcl/collision_data.h
+
17
−
3
View file @
d54f7ee8
...
...
@@ -39,19 +39,22 @@
#ifndef HPP_FCL_COLLISION_DATA_H
#define HPP_FCL_COLLISION_DATA_H
#include
<hpp/fcl/collision_object.h>
#include
<hpp/fcl/data_types.h>
#include
<vector>
#include
<set>
#include
<limits>
#include
<hpp/fcl/collision_object.h>
#include
<hpp/fcl/config.hh>
#include
<hpp/fcl/data_types.h>
namespace
hpp
{
namespace
fcl
{
const
int
GST_INDEP
HPP_FCL_DEPRECATED
=
0
;
/// @brief Contact information returned by collision
struct
Contact
{
...
...
@@ -285,6 +288,17 @@ struct DistanceRequest
FCL_REAL
rel_err
;
// relative error, between 0 and 1
FCL_REAL
abs_err
;
// absoluate error
/// \deprected the last argument should be removed.
DistanceRequest
(
bool
enable_nearest_points_
,
FCL_REAL
rel_err_
,
FCL_REAL
abs_err_
,
int
/*unused*/
)
HPP_FCL_DEPRECATED
:
enable_nearest_points
(
enable_nearest_points_
),
rel_err
(
rel_err_
),
abs_err
(
abs_err_
)
{
}
DistanceRequest
(
bool
enable_nearest_points_
=
false
,
FCL_REAL
rel_err_
=
0.0
,
FCL_REAL
abs_err_
=
0.0
)
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment