CADability dotNET
Determins whether the provided point is contained in the provided rectangle. It may also reside on one of the bounding lines.

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

Syntax

C#
public static bool operator <=(
	GeoPoint2D p,
	BoundingRect r
)
Visual Basic
Public Shared Operator <= ( _
	p As GeoPoint2D, _
	r As BoundingRect _
) As Boolean
Visual C++
public:
static bool operator <=(
	GeoPoint2D p, 
	BoundingRect r
)

Parameters

p
Type: CADability..::..GeoPoint2D
The point to test
r
Type: CADability..::..BoundingRect
The rectangle to test with

Return Value

true if contained

See Also