Helios++
Helios software for LiDAR simulations
IntersectionHandlingResult Class Reference

Output class for intersection handling methods. More...

#include <IntersectionHandlingResult.h>

Public Member Functions

 IntersectionHandlingResult (glm::dvec3 intersectionPoint=glm::dvec3(0, 0, 0), bool canContinue=false)
 Build an IntersectionHandlingResult. More...
 
bool canRayContinue ()
 Check whether the ray can continue after intersection or not. More...
 
glm::dvec3 getIntersectionPoint ()
 Obtain the intersection point. More...
 

Protected Attributes

glm::dvec3 intersectionPoint
 True if the ray can continue after intersection, False otherwise.
 
bool canContinue
 

Friends

std::ostream & operator<< (std::ostream &out, IntersectionHandlingResult const &ihr)
 

Detailed Description

Output class for intersection handling methods.

Author
Alberto M. Esmoris Pena
Version
1.0

Constructor & Destructor Documentation

◆ IntersectionHandlingResult()

IntersectionHandlingResult::IntersectionHandlingResult ( glm::dvec3  intersectionPoint = glm::dvec3(0,0,0),
bool  canContinue = false 
)
inline

Build an IntersectionHandlingResult.

Parameters
intersectionPointSpecify the intersection point
canContinueSpecify if the ray can continue after intersection or not

Member Function Documentation

◆ canRayContinue()

bool IntersectionHandlingResult::canRayContinue ( )
inline

Check whether the ray can continue after intersection or not.

Returns
True if the ray can continue after intersection, False if not

◆ getIntersectionPoint()

glm::dvec3 IntersectionHandlingResult::getIntersectionPoint ( )
inline

Obtain the intersection point.

Returns
Intersection point

The documentation for this class was generated from the following file: