class Geo AbstractRayChunk ResultsIterator

This is the documentation for Enlighten.

class Geo AbstractRayChunk ResultsIterator

class Geo::AbstractRayChunk::ResultsIterator

Iterator to a const ray result, allows iterating linearly over the ray results.

Functions

Name

Description

Name

Description

GetBarycentric()

Gets the point of intersection.

GetInstanceIndex()

Gets the index of the intersected instance.

GetIsFrontFacing()

Is the intersection on the front-face of the triangle?

GetIsIntersection()

Checks if there was an intersection.

GetRay()

Gets the ray.

GetRayIntersection()

Gets the point of intersection.

GetRayIntersectionDistance()

Gets the distance along the ray at the intersection.

GetRayResult()

Gets the underlying RayResult.

GetTriangleIdx()

Gets the index of the intersected triangle. If this is negative nothing was intersected.

GetTValue()

Gets the t-value along the ray at the intersection point.

operator!=(const ResultsIterator &)

Comparison.

operator++()

Advances this iterator to the next result.

operator==(const ResultsIterator &)

Comparison.

ResultsIterator()

Constructors.

ResultsIterator(RayType *, RayResult *)

Constructors.

 

Geo::GeoPoint2 Geo::AbstractRayChunk< T >::ResultsIterator::GetBarycentric


public: Geo::GeoPoint2 GetBarycentric() const


Gets the point of intersection.

 

Geo::u32 Geo::AbstractRayChunk< T >::ResultsIterator::GetInstanceIndex


public: Geo::u32 GetInstanceIndex() const


Gets the index of the intersected instance.

 

bool Geo::AbstractRayChunk< T >::ResultsIterator::GetIsFrontFacing


public: bool GetIsFrontFacing() const


Is the intersection on the front-face of the triangle?

 

bool Geo::AbstractRayChunk< T >::ResultsIterator::GetIsIntersection


public: bool GetIsIntersection() const


Checks if there was an intersection.

 

const RayType* Geo::AbstractRayChunk< T >::ResultsIterator::GetRay


public: const RayType * GetRay() const