M_Rhino_Geometry_Surface_TryGetPlane - mcneel/rhinocommon-api-docs GitHub Wiki

Surface.TryGetPlane Method (Plane)

Tests a surface 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
)

VB

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

Parameters

 

plane
Type: Rhino.Geometry.Plane
On success, the plane parameters are filled in.

Return Value

Type: Boolean
true if there is a plane such that the maximum distance from the surface to the plane is <= RhinoMath.ZeroTolerance.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Surface Class
TryGetPlane Overload
Rhino.Geometry Namespace

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