rectangular_smoothing_constraints
- compas_tno.utilities.rectangular_smoothing_constraints(form, xy_span=[[0, 10], [0, 10]])[source]
Constraint for smoothing the form diagram in a rectangular boundary.
- Parameters
form (FormDiagram) – The form diagram to check.
xy_span (list, optional) – The rectangular footprint to smooth, by default [[0, 10], [0, 10]]
- Returns
distance (float) – The square distance is computed.