Do getPoints first, keep track of the bounding box, then use the abs max of the limits to determine an integer scale. This approach shouldn't require any tolerances to account for the divisions because we are working with the actual nominal curve instead of the theoretic one.
Do getPoints first, keep track of the bounding box, then use the abs max of the limits to determine an integer scale. This approach shouldn't require any tolerances to account for the divisions because we are working with the actual nominal curve instead of the theoretic one.