Class IncrementChooser
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.plugin.scalebar.IncrementChooser
-
public class IncrementChooser extends Object
Chooses a good size for the scale-bar increments.
-
-
Constructor Summary
Constructors Constructor Description IncrementChooser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoundQuantity
chooseGoodIncrement(Collection units, double idealIncrement)
-
-
-
Method Detail
-
chooseGoodIncrement
public RoundQuantity chooseGoodIncrement(Collection units, double idealIncrement)
- Parameters:
displayWidth
- in model-space coordinates.- Returns:
- a Quantity whose value will be a multiple of 10
-
-