Click or drag to resize

HitTestPointDataIsHit(RectangleD3D, Matrix4x3, Double) Method

Determines whether the specified 3D-rectangle r is hit by a ray given by x=0, y=0, z>0.

Namespace: Altaxo.Graph.Graph3D
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool IsHit(
	RectangleD3D r,
	Matrix4x3 rectangleToWorldTransformation,
	out double z
)

Parameters

r  RectangleD3D
The rectangle r.
rectangleToWorldTransformation  Matrix4x3
An additional transformation that transformes the given rectangle into the same coordinates as the hit data.
z  Double
If there was a hit, this is the z coordinate of the hit.

Return Value

Boolean
True if the rectangle is hit by a ray given by x=0, y=0, z>0.
See Also