Back to FabImage Library Lite website

You are here: Start » Image » Image Relations » TestBoxInImage

TestBoxInImage


Header: FIL.h
Namespace: fil

Tests whether a box is contained in the dimensions of an image.

Syntax

void fil::TestBoxInImage
(
	const fil::Image& inImage,
	const fil::Box& inBox,
	bool& outIsContained
)

Parameters

Name Type Default Description
inImage const Image& Input image
inBox const Box&
outIsContained bool&

Description

Tests whether a box is contained in the dimensions of an image.

Examples

TestBoxInImage Output Preview
True
False