RhinoCommon API
CurveTryGetPlane Method (Plane, Double) |
Test a curve for planarity and return the plane.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
public 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: Booleantrue if there is a plane such that the maximum distance from the curve to the plane is <= tolerance.