Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeInterval::clamp Method
Syntax
C++
double clamp(double value) const;

Corrects the parameter so that it belongs to the interval. If parameter is already within interval, then it is returned as is. Otherwise parameter is moved to closest of endpoints. 

 

Parameters
Description
value
[in] The parameter to be corrected.
Copyright © 2002-2022. Open Design Alliance All rights reserved.