Preparing search index...
The search index is not available
curve-interpolator
curve-interpolator
clamp
Function clamp
clamp
(
value
:
number
, min
?:
number
, max
?:
number
)
:
number
Clamp an input value to min and max
Parameters
value:
number
input value
min:
number
= 0
min value
max:
number
= 1
max value
Returns
number
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
curve-
interpolator
<internal>
Curve
Interpolator
Linear
Curve
Mapper
Numerical
Curve
Mapper
Point
EPS
add
binary
Search
calc
Knot
Sequence
calculate
Coefficients
clamp
copy
Values
cross
derivative
AtT
distance
dot
evaluate
ForT
extrapolate
Control
Point
fill
find
Roots
OfT
get
Control
Points
get
Cubic
Roots
get
Quad
Roots
get
Segment
Index
AndT
magnitude
map
normalize
orthogonal
reduce
rotate2d
rotate3d
second
Derivative
AtT
simplify2d
sub
sum
Of
Squares
value
AtT
Generated using
TypeDoc
Clamp an input value to min and max