CADability dotNET
Tests whether an object is inside or touched by the provided area

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

Syntax

C#
bool HitTest(
	Projection..::..PickArea area,
	bool onlyInside
)
Visual Basic
Function HitTest ( _
	area As Projection..::..PickArea, _
	onlyInside As Boolean _
) As Boolean
Visual C++
bool HitTest(
	Projection..::..PickArea^ area, 
	bool onlyInside
)

Parameters

area
Type: CADability..::..Projection..::..PickArea
The area to check for
onlyInside
Type: System..::..Boolean
true: the object must be totaly inside the area, false: the object must be totaly or partially inside the area

Return Value

true when the test succeedes, false otherwise

See Also