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
Syntaxpublic static double Sanitize(
double sharpness
)
Public Shared Function Sanitize (
sharpness As Double
) As Double
Parameters
- sharpness
- Type: SystemDouble
The value to sanitize.
Return Value
Type:
DoubleA usable sharpness value, or 0.0 if sharpness is not valid.
See Also