This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.RayD
Morten Aune Lyrstad edited this page Apr 16, 2022
·
49 revisions
← Index ← Namespace Index
public struct RayD: IEquatable<RayD>Defines a ray.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
| Member | Description |
|---|---|
| Vector3D Direction | Unit vector specifying the direction the Ray is pointing. |
| Vector3D Position | Specifies the starting point of the Ray. |
| Member | Description |
|---|---|
| RayD(Vector3D, Vector3D) | |
| RayD(ref Vector3D, ref Vector3D) |
| Member | Description |
|---|---|
| bool Equals(RayD) | Determines whether the specified Ray is equal to the current Ray. |
| bool Equals(object) | Determines whether two instances of Ray are equal. |
| int GetHashCode() | Gets the hash code for this instance. |
| double? Intersects(BoundingBoxD) | Checks whether the Ray intersects a specified BoundingBox. |
| void Intersects(ref BoundingBoxD, out double?) | Checks whether the current Ray intersects a BoundingBox. |
| double? Intersects(BoundingFrustumD) | Checks whether the Ray intersects a specified BoundingFrustum. |
| double? Intersects(PlaneD) | Determines whether this Ray intersects a specified Plane. |
| void Intersects(ref PlaneD, out double?) | Determines whether this Ray intersects a specified Plane. |
| double? Intersects(BoundingSphereD) | Checks whether the Ray intersects a specified BoundingSphere. |
| void Intersects(ref BoundingSphere, out double?) | Checks whether the current Ray intersects a BoundingSphere. |
| string ToString() | Returns a String that represents the current Ray. |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!