Back to Aurora Vision Library website

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

PointsBoundingEllipse


Header: AVL.h
Namespace: avl
Module: FoundationBasic

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

Syntax

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

Parameters

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