|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.referencing.wkt.Formattable org.geotools.referencing.operation.transform.AbstractMathTransform org.geotools.referencing.operation.transform.LogarithmicTransform1D
A one dimensional, logarithmic transform. Input values x are converted into output values y using the following equation:
y = offset + logbase(x) = offset + ln(x)/ln(base)
This transform is the inverse ofExponentialTransform1D
.
ExponentialTransform1D
,
LinearTransform1D
,
Serialized FormNested Class Summary | |
static class |
LogarithmicTransform1D.Provider
The provider for the LogarithmicTransform1D . |
Nested classes inherited from class org.geotools.referencing.operation.transform.AbstractMathTransform |
AbstractMathTransform.Inverse |
Field Summary | |
double |
base
The base of the logarithm. |
double |
offset
The offset to add to the logarithm. |
Constructor Summary | |
protected |
LogarithmicTransform1D(double base,
double offset)
Constructs a new logarithmic transform. |
Method Summary | |
static org.opengis.referencing.operation.MathTransform1D |
create(double base,
double offset)
Constructs a new logarithmic transform. |
double |
derivative(double value)
Gets the derivative of this function at a value. |
boolean |
equals(java.lang.Object object)
Compares the specified object with this math transform for equality. |
org.opengis.parameter.ParameterDescriptorGroup |
getParameterDescriptors()
Returns the parameter descriptors for this math transform. |
org.opengis.parameter.ParameterValueGroup |
getParameterValues()
Returns the parameter values for this math transform. |
int |
getSourceDimensions()
Gets the dimension of input points, which is 1. |
int |
getTargetDimensions()
Gets the dimension of output points, which is 1. |
int |
hashCode()
Returns a hash value for this transform. |
org.opengis.referencing.operation.MathTransform |
inverse()
Creates the inverse transform of this object. |
double |
transform(double value)
Transforms the specified value. |
void |
transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
Transforms a list of coordinate point ordinal values. |
void |
transform(float[] srcPts,
int srcOff,
float[] dstPts,
int dstOff,
int numPts)
Transforms a list of coordinate point ordinal values. |
Methods inherited from class org.geotools.referencing.operation.transform.AbstractMathTransform |
createTransformedShape, derivative, derivative, ensureNonNull, formatWKT, getDimSource, getDimTarget, isIdentity, needCopy, rollLongitude, transform, transform |
Methods inherited from class org.geotools.referencing.wkt.Formattable |
toString, toWKT, toWKT, toWKT |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.operation.MathTransform |
derivative, isIdentity, toWKT, transform |
Field Detail |
public final double base
public final double offset
Constructor Detail |
protected LogarithmicTransform1D(double base, double offset)
base
- The base of the logarithm.offset
- The offset to add to the logarithm.Method Detail |
public static org.opengis.referencing.operation.MathTransform1D create(double base, double offset)
base
- The base of the logarithm.offset
- The offset to add to the logarithm.public org.opengis.parameter.ParameterDescriptorGroup getParameterDescriptors()
getParameterDescriptors
in class AbstractMathTransform
OperationMethod.getParameters()
public org.opengis.parameter.ParameterValueGroup getParameterValues()
getParameterValues
in class AbstractMathTransform
Operation.getParameterValues()
public int getSourceDimensions()
getSourceDimensions
in interface org.opengis.referencing.operation.MathTransform
getSourceDimensions
in class AbstractMathTransform
public int getTargetDimensions()
getTargetDimensions
in interface org.opengis.referencing.operation.MathTransform
getTargetDimensions
in class AbstractMathTransform
public org.opengis.referencing.operation.MathTransform inverse()
inverse
in interface org.opengis.referencing.operation.MathTransform
inverse
in class AbstractMathTransform
public double derivative(double value)
derivative
in interface org.opengis.referencing.operation.MathTransform1D
public double transform(double value)
transform
in interface org.opengis.referencing.operation.MathTransform1D
public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
transform
in interface org.opengis.referencing.operation.MathTransform
transform
in class AbstractMathTransform
public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
transform
in interface org.opengis.referencing.operation.MathTransform
public int hashCode()
hashCode
in class AbstractMathTransform
public boolean equals(java.lang.Object object)
equals
in class AbstractMathTransform
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |