BoxIntersects(Ray, Double, Double) Method |
Determines whether the given ray intersects the current instance of
Box.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic bool Intersects(
Ray ray,
out double scale1,
out double scale2
)
Parameters
- ray Ray
- The ray to check.
- scale1 Double
- When the method completes, contains the ray and box intersection min point.
- scale2 Double
- When the method completes, contains the ray and box intersection max point.
Return Value
BooleanTrue if the given ray intersects the current instance of
Box; False otherwise.
See Also