Classes | Namespaces | Macros
gjk_solver_indep-inl.h File Reference
#include "fcl/narrowphase/detail/gjk_solver_indep.h"
#include <algorithm>
#include "fcl/common/unused.h"
#include "fcl/geometry/shape/triangle_p.h"
#include "fcl/narrowphase/detail/convexity_based_algorithm/gjk.h"
#include "fcl/narrowphase/detail/convexity_based_algorithm/epa.h"
#include "fcl/narrowphase/detail/primitive_shape_algorithm/capsule_capsule.h"
#include "fcl/narrowphase/detail/primitive_shape_algorithm/sphere_box.h"
#include "fcl/narrowphase/detail/primitive_shape_algorithm/sphere_capsule.h"
#include "fcl/narrowphase/detail/primitive_shape_algorithm/sphere_cylinder.h"
#include "fcl/narrowphase/detail/primitive_shape_algorithm/sphere_sphere.h"
#include "fcl/narrowphase/detail/primitive_shape_algorithm/sphere_triangle.h"
#include "fcl/narrowphase/detail/primitive_shape_algorithm/box_box.h"
#include "fcl/narrowphase/detail/primitive_shape_algorithm/halfspace.h"
#include "fcl/narrowphase/detail/primitive_shape_algorithm/plane.h"
#include "fcl/narrowphase/detail/failed_at_this_configuration.h"
Include dependency graph for gjk_solver_indep-inl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fcl::detail::ShapeDistanceIndepImpl< S, Shape1, Shape2 >
 
struct  fcl::detail::ShapeDistanceIndepImpl< S, Box< S >, Sphere< S > >
 
struct  fcl::detail::ShapeDistanceIndepImpl< S, Capsule< S >, Capsule< S > >
 
struct  fcl::detail::ShapeDistanceIndepImpl< S, Capsule< S >, Sphere< S > >
 
struct  fcl::detail::ShapeDistanceIndepImpl< S, Cylinder< S >, Sphere< S > >
 
struct  fcl::detail::ShapeDistanceIndepImpl< S, Sphere< S >, Box< S > >
 
struct  fcl::detail::ShapeDistanceIndepImpl< S, Sphere< S >, Capsule< S > >
 
struct  fcl::detail::ShapeDistanceIndepImpl< S, Sphere< S >, Cylinder< S > >
 
struct  fcl::detail::ShapeDistanceIndepImpl< S, Sphere< S >, Sphere< S > >
 
struct  fcl::detail::ShapeIntersectIndepImpl< S, Shape1, Shape2 >
 
struct  fcl::detail::ShapeIntersectIndepImpl< S, Halfspace< S >, Halfspace< S > >
 
struct  fcl::detail::ShapeIntersectIndepImpl< S, Halfspace< S >, Plane< S > >
 
struct  fcl::detail::ShapeIntersectIndepImpl< S, Plane< S >, Halfspace< S > >
 
struct  fcl::detail::ShapeIntersectIndepImpl< S, Plane< S >, Plane< S > >
 
struct  fcl::detail::ShapeTransformedTriangleDistanceIndepImpl< S, Shape >
 
struct  fcl::detail::ShapeTransformedTriangleDistanceIndepImpl< S, Sphere< S > >
 
struct  fcl::detail::ShapeTransformedTriangleIntersectIndepImpl< S, Shape >
 
struct  fcl::detail::ShapeTransformedTriangleIntersectIndepImpl< S, Halfspace< S > >
 
struct  fcl::detail::ShapeTransformedTriangleIntersectIndepImpl< S, Plane< S > >
 
struct  fcl::detail::ShapeTransformedTriangleIntersectIndepImpl< S, Sphere< S > >
 
struct  fcl::detail::ShapeTriangleDistanceIndepImpl< S, Shape >
 
struct  fcl::detail::ShapeTriangleDistanceIndepImpl< S, Sphere< S > >
 
struct  fcl::detail::ShapeTriangleIntersectIndepImpl< S, Shape >
 
struct  fcl::detail::ShapeTriangleIntersectIndepImpl< S, Sphere< S > >
 

Namespaces

 fcl
 Main namespace.
 
 fcl::detail
 

Macros

#define FCL_GJK_INDEP_SHAPE_INTERSECT(SHAPE, ALG)   FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT_REG(SHAPE, SHAPE, ALG)
 
#define FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT(SHAPE1, SHAPE2, ALG)
 
#define FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT_INV(SHAPE1, SHAPE2, ALG)
 
#define FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT_REG(SHAPE1, SHAPE2, ALG)
 

Macro Definition Documentation

◆ FCL_GJK_INDEP_SHAPE_INTERSECT

#define FCL_GJK_INDEP_SHAPE_INTERSECT (   SHAPE,
  ALG 
)    FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT_REG(SHAPE, SHAPE, ALG)

Definition at line 242 of file gjk_solver_indep-inl.h.

◆ FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT

#define FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT (   SHAPE1,
  SHAPE2,
  ALG 
)
Value:
FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT_INV(SHAPE1, SHAPE2, ALG)

Definition at line 245 of file gjk_solver_indep-inl.h.

◆ FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT_INV

#define FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT_INV (   SHAPE1,
  SHAPE2,
  ALG 
)
Value:
template <typename S>\
struct ShapeIntersectIndepImpl<S, SHAPE2<S>, SHAPE1<S>>\
{\
static bool run(\
const GJKSolver_indep<S>& /*gjkSolver*/,\
const SHAPE2<S>& s1,\
const Transform3<S>& tf1,\
const SHAPE1<S>& s2,\
const Transform3<S>& tf2,\
std::vector<ContactPoint<S>>* contacts)\
{\
const bool res = ALG(s2, tf2, s1, tf1, contacts);\
if (contacts) flipNormal(*contacts);\
return res;\
}\
};

Definition at line 224 of file gjk_solver_indep-inl.h.

◆ FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT_REG

#define FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT_REG (   SHAPE1,
  SHAPE2,
  ALG 
)
Value:
template <typename S>\
struct ShapeIntersectIndepImpl<S, SHAPE1<S>, SHAPE2<S>>\
{\
static bool run(\
const GJKSolver_indep<S>& /*gjkSolver*/,\
const SHAPE1<S>& s1,\
const Transform3<S>& tf1,\
const SHAPE2<S>& s2,\
const Transform3<S>& tf2,\
std::vector<ContactPoint<S>>* contacts)\
{\
return ALG(s1, tf1, s2, tf2, contacts);\
}\
};

Definition at line 208 of file gjk_solver_indep-inl.h.

fcl::flipNormal
template void flipNormal(std::vector< ContactPoint< double >> &contacts)
FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT_REG
#define FCL_GJK_INDEP_SHAPE_SHAPE_INTERSECT_REG(SHAPE1, SHAPE2, ALG)
Definition: gjk_solver_indep-inl.h:208


fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:49