Performs an interpolation between two numbers.
(dos_interp min max val [mode])
min
The minimum value in the range.
max
The maximum value in the range.
val
The normalized value (ranging between 0 and 1) between min and max. Values of outside this range result in extrapolation.
mode
The interpolation method to use.
The result of the interpolation if successful.
nil on error.
(setq val 0) (while (<= val 1.0) (print (dos_interp 0 255 val)) (setq val (+ val 0.1)) ) (princ)
There was an error while loading. Please reload this page.
Home Introduction CAD Function Configuration Functions Directory Functions Drive functions File Functions Math Functions Path Functions Printer Functions Process Functions String Functions System Functions User Interface Functions DOSLib Functions History