Back to Aurora Vision Library website

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

TestPointInCircle


Header: AVL.h
Namespace: avl
Module: FoundationLite

Tests whether a point lies inside a circle.

Syntax

C++
C#
 
void avl::TestPointInCircle
(
	const avl::Point2D& inPoint,
	const avl::Circle2D& inCircle,
	bool& outIsContained
)

Parameters

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

Examples

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


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