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