Back to FabImage Library website

You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » PointsBoundingEllipse

PointsBoundingEllipse


Header: FIL.h
Namespace: fil
Module: FoundationBasic

Computes the smallest ellipse containing an array of points if such ellipse exists.

Syntax

C++
C#
 
void fil::PointsBoundingEllipse
(
	const ftl::Array<fil::Point2D>& inPoints,
	fil::Ellipse2D& outBoundingEllipse,
	ftl::Array<fil::Point2D>& outBoundaryPoints
)

Parameters

Name Type Default Description
Input value inPoints const Array<Point2D>&
Output value outBoundingEllipse Ellipse2D&
Output value outBoundaryPoints Array<Point2D>&