docs: @SuppressWarnings({"checkstyle:cyclomaticcomplexity", "checkstyle:npathcomplexity"})
  	@Pure
  	public final Path2d toPath2D(double startPosition, double endPosition) {
  		final Path2d path = new Path2d();
  		toPath2D(path, startPosition, endPosition);
  		return path;
  	}