M_Rhino_Geometry_Curve_TryGetPlane_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.TryGetPlane Method (Plane, Double)

Test a curve for planarity and return the plane.

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

Syntax

C#

public bool TryGetPlane(
	out Plane plane,
	double tolerance
)

VB

Public Function TryGetPlane ( 
	<OutAttribute> ByRef plane As Plane,
	tolerance As Double
) As Boolean

Parameters

 

plane
Type: Rhino.Geometry.Plane
On success, the plane parameters are filled in.
tolerance
Type: System.Double
Tolerance to use when checking.

Return Value

Type: Boolean
true if there is a plane such that the maximum distance from the curve to the plane is <= tolerance.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
TryGetPlane Overload
Rhino.Geometry Namespace

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