Interface ILogarithmicCoordinateCalculator
Provides the interface to LogarithmicCoordinateCalculator. Using pre-computed constants, types which implement ILogarithmicCoordinateCalculator can convert from pixel coordinate to data value and back.
Implements
Namespace:
Assembly: .dll
Syntax
public interface ILogarithmicCoordinateCalculator extends coordinateCalculators.ICoordinateCalculator
Methods
fromExponent(double exponent)
Applies the inverse transformation to the provided exponent, returning the corresponding data value. See ILogarithmicCoordinateCalculator#toExponent(double).
Declaration
public abstract double fromExponent(double exponent)
Parameters
| Type | Name | Description |
|---|---|---|
| double | exponent | Exponent which will to which the inverse logarithmic transformation will be applied. |
Returns
| Type | Description |
|---|---|
| double | The inverse logarithmic transformation result. |
getLogarithmicBase()
Returns the base of the current logarithmic transformation.
Declaration
public abstract double getLogarithmicBase()
Returns
| Type | Description |
|---|---|
| double | The logarithm base. |
toExponent(double dataValue)
Applies a logarithmic transformation to the provided data value, returning the exponent of it.
Declaration
public abstract double toExponent(double dataValue)
Parameters
| Type | Name | Description |
|---|---|---|
| double | dataValue | Value to which logarithmic transformation will be applied. |
Returns
| Type | Description |
|---|---|
| double | The logarithmic transformation result. |