Click or drag to resize

RhinoMathWrap Method

Limits a Double to be specified within an interval of two numbers by repeating the available interval cyclically.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.1
Syntax
public static double Wrap(
	double value,
	double bound1,
	double bound2
)

Parameters

value
Type: SystemDouble
A number.
bound1
Type: SystemDouble
A first bound.
bound2
Type: SystemDouble
A second bound. This does not necessarily need to be larger or smaller than bound1.

Return Value

Type: Double

[Missing <returns> documentation for "M:Rhino.RhinoMath.Wrap(System.Double,System.Double,System.Double)"]

See Also