33#ifndef DART_COLLISION_RAYCASTRESULT_HPP_
34#define DART_COLLISION_RAYCASTRESULT_HPP_
Definition CollisionObject.hpp:45
::fcl::CollisionObject CollisionObject
Definition BackwardCompatibility.hpp:161
Definition BulletCollisionDetector.cpp:65
Definition RaycastResult.hpp:45
const CollisionObject * mCollisionObject
The collision object the ray hit.
Definition RaycastResult.hpp:47
Eigen::Vector3d mNormal
The normal at the hit point in the world coordinates.
Definition RaycastResult.hpp:56
Eigen::Vector3d mPoint
The hit point in the world coordinates.
Definition RaycastResult.hpp:50
double mFraction
The fraction from "from" point to "to" point.
Definition RaycastResult.hpp:53
RayHit()
Constructor.
Definition RaycastResult.cpp:39
Definition RaycastResult.hpp:63
std::vector< RayHit > mRayHits
Definition RaycastResult.hpp:70
bool hasHit() const
Returns true if there is a hit.
Definition RaycastResult.cpp:61
RaycastResult()
Constructor.
Definition RaycastResult.cpp:49
void clear()
Clear the result.
Definition RaycastResult.cpp:55