Back to FabImage Library website

You are here: Start » Function Reference » Geometry 2D » Geometry 2D Relations » TestPointInBox

TestPointInBox


Header: FIL.h
Namespace: fil
Module: FoundationLite

Tests whether a point lies in a box.

Syntax

C++
C#
 
void fil::TestPointInBox
(
	const fil::Point2D& inPoint,
	const fil::Box& inBox,
	bool& outIsContained
)

Parameters

Name Type Default Description
Input value inPoint const Point2D&
Input value inBox const Box&
Output value outIsContained bool&

Examples

TestPointInBox performed on the sample box and point. outIsContained = True.


TestPointInBox performed on the sample box and point. outIsContained = False.