M_Rhino_Geometry_Curve_TryGetEllipse_3 - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.TryGetEllipse Method (Plane, Ellipse, Double)

Try to convert this curve into an Ellipse using a custom tolerance.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool TryGetEllipse(
	Plane plane,
	out Ellipse ellipse,
	double tolerance
)

VB

Public Function TryGetEllipse ( 
	plane As Plane,
	<OutAttribute> ByRef ellipse As Ellipse,
	tolerance As Double
) As Boolean

Parameters

 

plane
Type: Rhino.Geometry.Plane
Plane in which the comparison is performed.
ellipse
Type: Rhino.Geometry.Ellipse
On success, the Ellipse will be filled in.
tolerance
Type: System.Double
Tolerance to use when checking.

Return Value

Type: Boolean
true if the curve could be converted into an Ellipse within the given plane.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
TryGetEllipse Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️