Click or drag to resize

SubDEdgeSharpnessSanitize Method (Double)

Verifies that sharpness is between 0.0 and MaximumValue, and snaps it to an integer when it is within Tolerance of one.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.36
Syntax
public static double Sanitize(
	double sharpness
)

Parameters

sharpness
Type: SystemDouble
The value to sanitize.

Return Value

Type: Double
A usable sharpness value, or 0.0 if sharpness is not valid.
See Also