GridScaling
This class represents scaling factors for a grid, allowing for different scaling along the X and Y axes. It's used to convert between grid coordinates and real-world measurements.
Methods
GridScaling(double scale)
Constructs a GridScaling object with uniform scaling for both X and Y axes.
GridScaling(double scaleX, double scaleY)
Constructs a GridScaling object with separate scaling factors for the X and Y axes.
getScaleX()
Returns the scaling factor for the X-axis.
getScaleY()
Returns the scaling factor for the Y-axis.