HitTestPointDataIsRectangleHitByRay Method |
Determines whether the specified 3D-rectangle r is hit by a ray given by the provided transformation matrix that would transform
the hit ray in a ray at x=0, y=0, and z=-Infinity .. +Infinity.
Namespace: Altaxo.Graph.Graph3DAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool IsRectangleHitByRay(
RectangleD3D r,
Matrix4x4 rayTransformation,
out double z
)
Parameters
- r RectangleD3D
- The rectangle r.
- rayTransformation Matrix4x4
- The hit ray transformation.
- z Double
- If there was a hit, this is the z coordinate of the hit (otherwise, NaN is returned).
Return Value
BooleanTrue if the rectangle is hit by a ray given by the provided hit ray matrix.
See Also