nodeContourConstraint

Applies a node contour constraint to the body and configures it using the provided configuration block.

The node contour constraint ensures that the nodes of the body are constrained to remain near a user-defined contour (by default a rectangle). This function allows you to customize the constraint by providing a configuration block.

Parameters

configure

a lambda function used to customize the NodeContourConstraint instance being added to the body.