Skip to content

Commit

Permalink
core: fix message HPP_FCL_DEPRECATED_MESSAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent committed Mar 3, 2024
1 parent eec6999 commit 168ddaf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions include/hpp/fcl/collision_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ struct HPP_FCL_DLLAPI QueryRequest {

/// @brief whether enable gjk initial guess
/// @Deprecated Use gjk_initial_guess instead
HPP_FCL_DEPRECATED_MESSAGE("Use gjk_initial_guess instead")
HPP_FCL_DEPRECATED_MESSAGE(Use gjk_initial_guess instead)
bool enable_cached_gjk_guess;

/// @brief the gjk initial guess set by user
Expand Down Expand Up @@ -311,8 +311,8 @@ struct HPP_FCL_DLLAPI CollisionRequest : QueryRequest {

/// Whether a lower bound on distance is returned when objects are disjoint
HPP_FCL_DEPRECATED_MESSAGE(
"`enable_distance_lower_bound` is deprecated. A lower bound on distance "
"is always computed.")
`enable_distance_lower_bound` is deprecated
.A lower bound on distance is always computed.)
bool enable_distance_lower_bound;

/// @brief Distance below which objects are considered in collision.
Expand Down Expand Up @@ -495,11 +495,12 @@ struct HPP_FCL_DLLAPI DistanceRequest : QueryRequest {
/// Nearest points are always computed and are the points of the shapes that
/// achieve a distance of `DistanceResult::min_distance`.
HPP_FCL_DEPRECATED_MESSAGE(
"`enable_nearest_points` is deprecated. Nearest points are always "
"computed; they are the points of the shapes that achieve a distance of "
"`DistanceResult::min_distance`.\n"
"Use `enable_signed_distance` if you want to compute a signed minimum "
"distance (and thus its corresponding nearest points).")
`enable_nearest_points` is deprecated.Nearest points are always computed;
they are the points of the shapes that achieve a distance of
`DistanceResult::min_distance`
.\n Use `enable_signed_distance` if you want to compute a signed
minimum distance(and thus its corresponding nearest points)
.)
bool enable_nearest_points;

/// @brief whether to compute the penetration depth when objects are in
Expand Down
2 changes: 1 addition & 1 deletion include/hpp/fcl/narrowphase/narrowphase.h
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ struct HPP_FCL_DLLAPI GJKSolver {

/// @brief Whether smart guess can be provided
/// @Deprecated Use gjk_initial_guess instead
HPP_FCL_DEPRECATED_MESSAGE("Use gjk_initial_guess instead")
HPP_FCL_DEPRECATED_MESSAGE(Use gjk_initial_guess instead)
bool enable_cached_guess;

/// @brief smart guess
Expand Down

0 comments on commit 168ddaf

Please sign in to comment.