Rectangle Circle intersection test

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Function RectangleCircleIntersects ( _
	ByRef r As RectangleF, _
	ByRef centre As PointD, _
	radius As Double _
) As Boolean
C#
public static bool RectangleCircleIntersects(
	ref RectangleF r,
	ref PointD centre,
	double radius
)
Visual C++
public:
static bool RectangleCircleIntersects(
	RectangleF% r, 
	PointD% centre, 
	double radius
)
JavaScript
EGIS.ShapeFileLib.GeometryAlgorithms.rectangleCircleIntersects = function(r, centre, radius);

Parameters

r
Type: System.Drawing..::..RectangleF%
centre
Type: EGIS.ShapeFileLib..::..PointD%
radius
Type: System..::..Double

Return Value

Remarks

This method is untested

See Also