Drawing3d documented Class Library

Utils.InsideRectangle(Rectangle, Point) Method

Calculates wheter a point is inside a rectangle or not.

[Visual Basic]
Public Overloads Shared Sub InsideRectangle( _
   ByVal R As Rectangle, _
   ByVal p As Point _
)
[C#]
public static bool InsideRectangle(
   Rectangle R,
   Point p
);

Parameters

R
A rectangle
p
A point

Return Value

True if the point lies inside of the rectangle

See Also

Utils Class | Drawing3d.Math Namespace | Utils.InsideRectangle Overload List