Represents an intersection with a bounding volume and a ray. Three cases can occur:
1. No intersection
2. One point intersection (e.g. ray starts inside, exits)
3. Two point intersection (e.g. entry, exit points)
Declaration Syntax
C# |
public struct BoundingIntersectionRecord
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
BoundingIntersectionRecord(IntersectionRecord) |
Creates a new BoundingIntersectionRecord with a single intersection.
|
|
BoundingIntersectionRecord(IntersectionRecord, IntersectionRecord) |
Creates a new BoundingIntersectionRecord with two intersections.
|
|
ClosestIntersection |
Gets the closest intersection record, if it exists.
|
|
Equals(Object) |
Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
|
FarthestIntersection |
Gets the farthest intersection intersection on the volume, if it exists.
|
|
GetHashCode()()()() |
Returns the hash code for this instance. (Inherited from ValueType.) |
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
IntersectionCount |
Gets the number of intersections contained in the result (0, 1, or 2).
|
|
ToString()()()() |
Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)