docs: public void setPath(List<? extends S> path, Direction1D direction) {
  		this.path = path == null || path.isEmpty() ? null : new ArrayList<>(path);
  		this.firstSegmentDirection = detectFirstSegmentDirection(direction);
  	}