Isis Developer Reference
|
Container that holds the body fixed intersection point and unit surface normal for a hit. More...
#include <EmbreeTargetShape.h>
Public Member Functions | |
RayHitInformation () | |
Default constructor for RayHitInformation. | |
RayHitInformation (LinearAlgebra::Vector &location, LinearAlgebra::Vector &normal, int primID) | |
Constructor for RayHitInformation given an intersection and unit surface normal. | |
Public Attributes | |
LinearAlgebra::Vector | intersection |
The (x, y, z) intersection location. | |
LinearAlgebra::Vector | surfaceNormal |
The unit surface normal vector at the intersection. | |
int | primID |
The primitive ID of the hit. | |
Container that holds the body fixed intersection point and unit surface normal for a hit.
Isis::RayHitInformation::RayHitInformation | ( | ) |
Default constructor for RayHitInformation.
References intersection, primID, surfaceNormal, and Isis::LinearAlgebra::vector().
Isis::RayHitInformation::RayHitInformation | ( | LinearAlgebra::Vector & | location, |
LinearAlgebra::Vector & | normal, | ||
int | prim ) |
Constructor for RayHitInformation given an intersection and unit surface normal.
location | The body-fixed (x, y, z) location of the intersection in kilometers. |
normal | The unit surface normal vector in body-fixed (x, y, z). |
primID | The primitive ID |
LinearAlgebra::Vector Isis::RayHitInformation::intersection |
The (x, y, z) intersection location.
Referenced by RayHitInformation().
int Isis::RayHitInformation::primID |
The primitive ID of the hit.
Referenced by RayHitInformation().
LinearAlgebra::Vector Isis::RayHitInformation::surfaceNormal |
The unit surface normal vector at the intersection.
Referenced by RayHitInformation().