class Geo::RayResult
The result of a ray intersection test.
Functions
Name | Description |
---|---|
GetIsFrontFacing() | Is the intersection on the front-face of the triangle? |
GetIsIntersection() | Checks if there was an intersection. |
GetIsPointOccluded(const Rayf &, const Geo::v128 &) | Checks if the given point is behind the intersection of the given ray. |
GetRayIntersection(const Rayf &) | Gets the point of intersection. |
GetRayIntersectionDistance(const Rayf &) | Gets the distance along the ray at the intersection. |
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. |
Anchor | ||||
---|---|---|---|---|
|
bool Geo::RayResult::GetIsFrontFacing
...
public: bool GetIsFrontFacing() const
...
Is the intersection on the front-face of the triangle?
Anchor | ||||
---|---|---|---|---|
|
bool Geo::RayResult::GetIsIntersection
...
public: bool GetIsIntersection() const
...
Checks if there was an intersection.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::RayResult::GetIsPointOccluded
...
public: bool GetIsPointOccluded
(
const Rayf & ray,
const Geo::v128 & point
) const
...
Checks if the given point is behind the intersection of the given ray.
Anchor | ||||
---|---|---|---|---|
|
Geo::v128 Geo::RayResult::GetRayIntersection
...
public: Geo::v128 GetRayIntersection
(
const Rayf & ray
) const
...
Gets the point of intersection.
Anchor | ||||
---|---|---|---|---|
|
float Geo::RayResult::GetRayIntersectionDistance
...
public: float GetRayIntersectionDistance
(
const Rayf & ray
) const
...
Gets the distance along the ray at the intersection.
Anchor | ||||
---|---|---|---|---|
|
Geo::s32 Geo::RayResult::GetTriangleIdx
...
public: Geo::s32 GetTriangleIdx() const
...
Gets the index of the intersected triangle. If this is negative nothing was intersected.
Anchor | ||||
---|---|---|---|---|
|
float Geo::RayResult::GetTValue
...
public: float GetTValue() const
...
Gets the t-value along the ray at the intersection point.