Click or drag to resize

EllipseTryFitEllipseToPoints Method

Attempt to fit an ellipse through a set of points.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public static bool TryFitEllipseToPoints(
	IEnumerable<Point3d> points,
	out Ellipse ellipse
)

Parameters

points
Type: System.Collections.GenericIEnumerablePoint3d
The points through which to fit.
ellipse
Type: Rhino.GeometryEllipse
The resulting ellipse on success.

Return Value

Type: Boolean
true on success, false on failure.
See Also