public void Apply(List <PointEntity <TNode> > nodes) { for (int i = 0; i < nodes.Count; i++) { PointEntity <TNode> node = nodes[i]; Point2D movement = node.Force.MultiplyCopy(_c); movement.Constrain(_negativeMaxMovement, _maxMovement); node.Position.Add(movement); node.Force.Set(0); } }