addConstraint method

void addConstraint(
  1. Constraint c
)

Add a constraint to the simulation.

Implementation

void addConstraint(Constraint c) {
  constraints.add(c);
}