Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Constructions » CircleThroughPoints

CircleThroughPoints


Header:AVL.h
Namespace:avl

Computes a circle passing through three noncollinear points.

Syntax

C++
C#
 
void avl::CircleThroughPoints
(
	const avl::Point2D& inPoint1,
	const avl::Point2D& inPoint2,
	const avl::Point2D& inPoint3,
	atl::Conditional<avl::Circle2D>& outCircle
)

Parameters

Name Type Default Description
inPoint1 const Point2D&
inPoint2 const Point2D&
inPoint3 const Point2D&
outCircle Conditional<Circle2D>& Circle passing through the specified points; or Nil if the points are collinear

Examples

CircleThroughPoints performed on three points.