Helios++
Helios software for LiDAR simulations
RayUtils.h
1 #pragma once
2 
3 #include <glm/glm.hpp>
4 #include <AABB.h>
5 
11 class RayUtils{
12 public:
34  static glm::dvec3 obtainPointAfterTraversing(
35  AABB const &aabb,
36  glm::dvec3 const &origin,
37  glm::dvec3 const &direction,
38  double eps=0.00001
39  );
40 };
Class representing an Axis Aligned Bounding Box (AABB)
Definition: AABB.h:10
Class with util functions to work with rays.
Definition: RayUtils.h:11
static glm::dvec3 obtainPointAfterTraversing(AABB const &aabb, glm::dvec3 const &origin, glm::dvec3 const &direction, double eps=0.00001)
Obtain the point immediately after finishing traversing given bounding box, with an offset specified ...
Definition: RayUtils.cpp:5