Back to FabImage Library Lite website

You are here: Start » Geometry 2D » Geometry 2D Relations » TestPointInCircle

TestPointInCircle


Header: FIL.h
Namespace: fil

Tests whether a point lies inside a circle.

Syntax

void fil::TestPointInCircle
(
	const fil::Point2D& inPoint,
	const fil::Circle2D& inCircle,
	bool& outIsContained
)

Parameters

Name Type Default Description
inPoint const Point2D&
inCircle const Circle2D&
outIsContained bool&

Examples

TestPointInCircle performed on the sample circle and point. outIsContained = True.


TestPointInCircle performed on the sample circle and point. outIsContained = False.