EllipseFromThreeBoundaryPoints {PlaneGeometry}R 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)

[Package PlaneGeometry version 1.6.0 Index]