distance_target

compas_tno.utilities.distance_target(form)

Returns a measure of the distance among the TN and the target surface.

Parameters:
formFormDiagram

The form diagram to check.

Returns:
distance: float

The square distance is computed.