You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Relations » AVL.TestPointInRectangle

AVL.TestPointInRectangle

Tests whether a point lies in a rectangle.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void TestPointInRectangle
(
	AvlNet.Point2D inPoint,
	AvlNet.Rectangle2D inRectangle,
	out bool outIsContained
)

Parameters

Name Type Range Default Description
inPointAvlNet.Point2D
inRectangleAvlNet.Rectangle2D
outIsContainedbool

Examples

TestPointInRectangle performed on the sample rectangle and point. outIsContained = True.


TestPointInRectangle performed on the sample rectangle and point. outIsContained = False.

See also