Back to FabImage Library website

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

CircleThroughPoints


Header: FIL.h
Namespace: fil
Module: FoundationLite

Computes a circle passing through three noncollinear points.

Syntax

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

Parameters

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

Examples

CircleThroughPoints performed on three points.