DeviationEdgeLengthConstraint.penalty

DeviationEdgeLengthConstraint.penalty(data)[source]

The distance between the current and the target float.

Returns:

error (float) – The squared difference.