VRageMath
RayD
Assembly: VRage.Math.dll
public struct RayD: IEquatable<RayD>
Defines a ray.
Fields
| Member | Description |
|---|---|
| Direction | Unit vector specifying the direction the Ray is pointing. |
| Position | Specifies the starting point of the Ray. |
Constructors
| Member | Description |
|---|---|
| RayD(Vector3D, Vector3D) | |
| RayD(ref Vector3D, ref Vector3D) |
Methods
| Member | Description |
|---|---|
| Equals(RayD) | Determines whether the specified Ray is equal to the current Ray. |
| Equals(object) | Determines whether two instances of Ray are equal. |
| GetHashCode() | Gets the hash code for this instance. |
| Intersects(BoundingBoxD) | Checks whether the Ray intersects a specified BoundingBox. |
| Intersects(ref BoundingBoxD, out double?) | Checks whether the current Ray intersects a BoundingBox. |
| Intersects(BoundingFrustumD) | Checks whether the Ray intersects a specified BoundingFrustum. |
| Intersects(PlaneD) | Determines whether this Ray intersects a specified Plane. |
| Intersects(ref PlaneD, out double?) | Determines whether this Ray intersects a specified Plane. |
| Intersects(BoundingSphereD) | Checks whether the Ray intersects a specified BoundingSphere. |
| Intersects(ref BoundingSphere, out double?) | Checks whether the current Ray intersects a BoundingSphere. |
| ToString() | Returns a String that represents the current Ray. |
Implements: