EllipseThroughFourPoints


Computes an ellipse passing through four noncollinear points.

Syntax

C++
Python
 
def EllipseThroughFourPoints(
	inPoint1: Point2D,
	inPoint2: Point2D,
	inPoint3: Point2D,
	inPoint4: Point2D,
	/
)
-> outEllipse: Ellipse2D | None

Parameters

Name Type Default Description
Input value inPoint1 Point2D
Input value inPoint2 Point2D
Input value inPoint3 Point2D
Input value inPoint4 Point2D
Output value outEllipse Ellipse2D | None Ellipse passing through the specified points; or Nil if the points don't define a proper ellipse.