Class Scales


  • public final class Scales
    extends java.lang.Object
    Scales helper class. Currently, this will just compute a linear scale for each axis. It is planned to add functionality to include some analysis to be able to automatically choose log scales when appropriate.
    Since:
    0.2
    Author:
    Erich Schubert
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Scales()
      Fake constructor.
    • Constructor Detail

      • Scales

        private Scales()
        Fake constructor.
    • Method Detail

      • calcScales

        public static LinearScale[] calcScales​(Relation<? extends SpatialComparable> rel)
        Compute a linear scale for each dimension.
        Parameters:
        rel - Relation
        Returns:
        Scales, indexed starting with 0 (like Vector, not database objects!)