distance.h File Reference

`#include "fcl/narrowphase/collision_object.h"`

`#include "fcl/narrowphase/detail/distance_func_matrix.h"`

`#include "fcl/narrowphase/detail/gjk_solver_indep.h"`

`#include "fcl/narrowphase/detail/gjk_solver_libccd.h"`

`#include "fcl/narrowphase/distance-inl.h"`

Include dependency graph for distance.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces | |

fcl | |

Main namespace. | |

## Functions | |

template<typename S > | |

FCL_EXPORT S | fcl::distance (const CollisionGeometry< S > *o1, const Transform3< S > &tf1, const CollisionGeometry< S > *o2, const Transform3< S > &tf2, const DistanceRequest< S > &request, DistanceResult< S > &result) |

template<typename S > | |

FCL_EXPORT S | fcl::distance (const CollisionObject< S > *o1, const CollisionObject< S > *o2, const DistanceRequest< S > &request, DistanceResult< S > &result) |

Main distance interface: given two collision objects, and the requirements for contacts, including whether return the nearest points, this function performs the distance between them. Return value is the minimum distance generated between the two objects. More... | |