CADability dotNET
Determins whether the rectangle rect coincides with the object

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

Syntax

C#
bool HitTest(
	ref BoundingRect rect,
	bool includeControlPoints
)
Visual Basic
Function HitTest ( _
	ByRef rect As BoundingRect, _
	includeControlPoints As Boolean _
) As Boolean
Visual C++
bool HitTest(
	BoundingRect% rect, 
	bool includeControlPoints
)

Parameters

rect
Type: CADability..::..BoundingRect%
testing rectangle
includeControlPoints
Type: System..::..Boolean
also check control points (e.g. spline control points, circle center)

Return Value

true, if coinciding, false otherwise

See Also