EllipseFromThreeBoundaryPoints: Smallest ellipse that passes through three boundary points

View source: R/Ellipse.R

EllipseFromThreeBoundaryPointsR Documentation

Smallest ellipse that passes through three boundary points

Description

Returns the smallest area ellipse which passes through three given boundary points.

Usage

EllipseFromThreeBoundaryPoints(P1, P2, P3)

Arguments

P1, P2, P3

three non-collinear points

Value

An Ellipse object.

Examples

P1 <- c(-1,0); P2 <- c(0, 2); P3 <- c(3,0)
ell <- EllipseFromThreeBoundaryPoints(P1, P2, P3)
ell$includes(P1); ell$includes(P2); ell$includes(P3)

PlaneGeometry documentation built on Aug. 10, 2023, 1:09 a.m.