CurveTryGetPlane Method (Plane, Double) |
Test a curve for planarity and return the plane.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic bool TryGetPlane(
out Plane plane,
double tolerance
)
Public Function TryGetPlane (
<OutAttribute> ByRef plane As Plane,
tolerance As Double
) As Boolean
Parameters
- plane
- Type: Rhino.GeometryPlane
On success, the plane parameters are filled in. - tolerance
- Type: SystemDouble
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 InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also