Iterator to a const ray result, allows iterating linearly over the ray results.
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. |
public: bool GetIsFrontFacing() const
Is the intersection on the front-face of the triangle?
public: bool GetIsIntersection() const
Checks if there was an intersection.
public: const RayType * GetRay() const
Gets the ray.
public: Geo::v128 GetRayIntersection() const
Gets the point of intersection.
public: float GetRayIntersectionDistance() const
Gets the distance along the ray at the intersection.
public: const RayResult & GetRayResult() const
Gets the underlying RayResult.
public: Geo::s32 GetTriangleIdx() const
Gets the index of the intersected triangle. If this is negative nothing was intersected.
public: float GetTValue() const
Gets the t-value along the ray at the intersection point.
public: bool operator!=
(
const ResultsIterator & rhs
) const
Comparison.
public: ResultsIterator & operator++()
Advances this iterator to the next result.
public: bool operator==
(
const ResultsIterator & rhs
) const
Comparison.
public: ResultsIterator()
Constructors.
public: ResultsIterator
(
RayType * ray,
RayResult * rayResult
)
Constructors.