org.jzy3d.plot3d.primitives.axes.layout.providers
Class SmartTickProvider

java.lang.Object
  extended by org.jzy3d.plot3d.primitives.axes.layout.providers.AbstractTickProvider
      extended by org.jzy3d.plot3d.primitives.axes.layout.providers.SmartTickProvider
All Implemented Interfaces:
ITickProvider

public class SmartTickProvider
extends AbstractTickProvider
implements ITickProvider

Compute the ticks placements automatically between values min and max.

Author:
Jerome Kodjabachian

Constructor Summary
SmartTickProvider()
           
SmartTickProvider(int steps)
           
 
Method Summary
 float[] generateTicks(float min, float max, int steps)
           
 int getDefaultSteps()
           
 
Methods inherited from class org.jzy3d.plot3d.primitives.axes.layout.providers.AbstractTickProvider
generateTicks
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jzy3d.plot3d.primitives.axes.layout.providers.ITickProvider
generateTicks
 

Constructor Detail

SmartTickProvider

public SmartTickProvider()

SmartTickProvider

public SmartTickProvider(int steps)
Method Detail

generateTicks

public float[] generateTicks(float min,
                             float max,
                             int steps)
Specified by:
generateTicks in interface ITickProvider

getDefaultSteps

public int getDefaultSteps()
Specified by:
getDefaultSteps in interface ITickProvider