org.scilab.forge.scirenderer.ruler
Class RulerDrawingResult

java.lang.Object
  extended by org.scilab.forge.scirenderer.ruler.RulerDrawingResult

public class RulerDrawingResult
extends java.lang.Object

Contain information about the ruler drawing result.

Author:
Pierre Lando

Method Summary
 java.text.DecimalFormat getFormat()
          Format getter
 double getMaxDistToTicksDirNorm()
          Maximum sprite distance to projected ticks direction norm ratio getter.
 Vector3d getNormalizedTicksDirection()
          Normalized projected ticks direction getter.
 int getSubTicksDensity()
          Drawn sub-ticks density getter.
 double[] getSubTicksValues()
          Drawn sub-ticks values getter.
 double[] getTicksValues()
          Drawn ticks values getter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFormat

public java.text.DecimalFormat getFormat()
Format getter

Returns:
the format.

getTicksValues

public double[] getTicksValues()
Drawn ticks values getter.

Returns:
the drawn ticks values.

getSubTicksValues

public double[] getSubTicksValues()
Drawn sub-ticks values getter.

Returns:
the drawn sub-ticks values.

getSubTicksDensity

public int getSubTicksDensity()
Drawn sub-ticks density getter.

Returns:
the drawn sub-ticks density.

getMaxDistToTicksDirNorm

public double getMaxDistToTicksDirNorm()
Maximum sprite distance to projected ticks direction norm ratio getter.

Returns:
the distance to ticks direction norm ratio.

getNormalizedTicksDirection

public Vector3d getNormalizedTicksDirection()
Normalized projected ticks direction getter.

Returns:
the normalized projected ticks direction.