Go to the documentation of this file.
45 #include "../narrowphase/details.h"
int b2
information about the nearest point in object 2 if object 2 is mesh or point cloud,...
FCL_REAL ShapeShapeDistance< Halfspace, Sphere >(const CollisionGeometry *o1, const Transform3f &tf1, const CollisionGeometry *o2, const Transform3f &tf2, const GJKSolver *, const DistanceRequest &, DistanceResult &result)
Vec3f nearest_points[2]
nearest points
Center at zero point sphere.
const CollisionGeometry * o1
collision object 1
The geometry for the object for collision or distance computation.
bool sphereHalfspaceIntersect(const Sphere &s1, const Transform3f &tf1, const Halfspace &s2, const Transform3f &tf2, FCL_REAL &distance, Vec3f &p1, Vec3f &p2, Vec3f &normal)
Vec3f normal
In case both objects are in collision, store the normal.
collision and distance solver based on GJK algorithm implemented in fcl (rewritten the code from the ...
int b1
information about the nearest point in object 1 if object 1 is mesh or point cloud,...
FCL_REAL min_distance
minimum distance between two objects. if two objects are in collision, min_distance <= 0.
Half Space: this is equivalent to the Plane in ODE. The separation plane is defined as n * x = d; Poi...
request to the distance computation
const CollisionGeometry * o2
collision object 2
FCL_REAL ShapeShapeDistance< Sphere, Halfspace >(const CollisionGeometry *o1, const Transform3f &tf1, const CollisionGeometry *o2, const Transform3f &tf2, const GJKSolver *, const DistanceRequest &, DistanceResult &result)
hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:15