Isis Developer Reference
Isis::RayHitInformation Struct Reference

Container that holds the body fixed intersection point and unit surface normal for a hit. More...

#include <EmbreeTargetShape.h>

Collaboration diagram for Isis::RayHitInformation:
Collaboration graph

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.
 

Detailed Description

Container that holds the body fixed intersection point and unit surface normal for a hit.

Author
2017-05-11 Jesse Mapel

Constructor & Destructor Documentation

◆ RayHitInformation() [1/2]

Isis::RayHitInformation::RayHitInformation ( )

◆ RayHitInformation() [2/2]

Isis::RayHitInformation::RayHitInformation ( LinearAlgebra::Vector & location,
LinearAlgebra::Vector & normal,
int prim )

Constructor for RayHitInformation given an intersection and unit surface normal.

Parameters
locationThe body-fixed (x, y, z) location of the intersection in kilometers.
normalThe unit surface normal vector in body-fixed (x, y, z).
primIDThe primitive ID

Member Data Documentation

◆ intersection

LinearAlgebra::Vector Isis::RayHitInformation::intersection

The (x, y, z) intersection location.

Referenced by RayHitInformation().

◆ primID

int Isis::RayHitInformation::primID

The primitive ID of the hit.

Referenced by RayHitInformation().

◆ surfaceNormal

LinearAlgebra::Vector Isis::RayHitInformation::surfaceNormal

The unit surface normal vector at the intersection.

Referenced by RayHitInformation().


The documentation for this struct was generated from the following files: