Back to FabImage Library website

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

EllipseThroughThreePoints


Header: FIL.h
Namespace: fil
Module: FoundationLite

Computes an ellipse passing through three noncollinear points.

Syntax

C++
C#
 
void fil::EllipseThroughThreePoints
(
	const fil::Point2D& inPoint1,
	const fil::Point2D& inPoint2,
	const fil::Point2D& inPoint3,
	ftl::Conditional<fil::Ellipse2D>& outEllipse
)

Parameters

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