class Geo AbstractRayChunk ResultsIterator

This is the documentation for Enlighten.

class Geo AbstractRayChunk ResultsIterator

class Geo::AbstractRayChunk::ResultsIterator

    └>std::iterator<std::forward_iterator_tag, const RayResultHandle>

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

Functions

Name

Description

Name

Description

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.



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


Gets the ray.



Geo::v128 Geo::AbstractRayChunk< T >::ResultsIterator::GetRayIntersection


public: Geo::v128 GetRayIntersection() const


Gets the point of intersection.



float Geo::AbstractRayChunk< T >::ResultsIterator::GetRayIntersectionDistance