30 #ifndef MCL_3DL_RAYCAST_H 31 #define MCL_3DL_RAYCAST_H 41 template <
typename POINT_TYPE>
61 CastResult(
const Vec3& pos,
bool collision,
float sin_angle,
const POINT_TYPE* point)
63 , collision_(collision)
64 , sin_angle_(sin_angle)
78 #endif // MCL_3DL_RAYCAST_H
std::shared_ptr< ChunkedKdtree > Ptr
virtual void setRay(typename ChunkedKdtree< POINT_TYPE >::Ptr kdtree, const Vec3 ray_begin, const Vec3 ray_end)=0
const POINT_TYPE * point_
virtual bool getNextCastResult(CastResult &result)=0
CastResult(const Vec3 &pos, bool collision, float sin_angle, const POINT_TYPE *point)