clamp
- compas_fab.utilities.clamp(value, min_value, max_value)[source]
Clamps a value within the bound [min_value, max_value]
- Returns
float
Clamps a value within the bound [min_value, max_value]
float
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev