CADability dotNET
Checks whether this surface restricted by the provided parameters interferes with the provided cube.

Namespace: CADability.GeoObject
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
bool HitTest(
	BoundingCube cube,
	double umin,
	double umax,
	double vmin,
	double vmax
)
Visual Basic
Function HitTest ( _
	cube As BoundingCube, _
	umin As Double, _
	umax As Double, _
	vmin As Double, _
	vmax As Double _
) As Boolean
Visual C++
bool HitTest(
	BoundingCube cube, 
	double umin, 
	double umax, 
	double vmin, 
	double vmax
)

Parameters

cube
Type: CADability..::..BoundingCube
Bounding cube for the test
umin
Type: System..::..Double
Minimum for the u parameter
umax
Type: System..::..Double
Maximum for the u parameter
vmin
Type: System..::..Double
Minimum for the v parameter
vmax
Type: System..::..Double
Maximum for the v parameter

Return Value

true if the cube and the surface interfere

See Also