docs: @Pure
  	public final Transform2D toTransform2D(Point2D<?, ?> startPoint, Point2D<?, ?> endPoint) {
  		assert startPoint != null : AssertMessages.notNullParameter(0);
  		assert endPoint != null : AssertMessages.notNullParameter(1);
  		return toTransform2D(startPoint.getX(), startPoint.getY(), endPoint.getX(), endPoint.getY());
  	}