public class ExponentialTransform1D extends AbstractMathTransform implements MathTransform1D, Serializable
LogarithmicTransform1D
,
LinearTransform1D
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
ExponentialTransform1D.Provider
The provider for the
ExponentialTransform1D . |
AbstractMathTransform.Inverse
Modifier and Type | Field and Description |
---|---|
double |
base
The base to be raised to a power.
|
double |
scale
The scale value to be multiplied.
|
SINGLE_LINE
Modifier | Constructor and Description |
---|---|
protected |
ExponentialTransform1D(double base,
double scale)
Constructs a new exponentional transform.
|
Modifier and Type | Method and Description |
---|---|
static MathTransform1D |
create(double base,
double scale)
Constructs a new exponentional transform.
|
double |
derivative(double value)
Gets the derivative of this function at a value.
|
boolean |
equals(Object object)
Compares the specified object with this math transform for equality.
|
ParameterDescriptorGroup |
getParameterDescriptors()
Returns the parameter descriptors for this math transform.
|
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.
|
MathTransform1D |
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.
|
createTransformedShape, derivative, derivative, ensureNonNull, formatWKT, getName, isIdentity, needCopy, normalizeAngle, rollLongitude, transform, transform, transform, transform
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
derivative, isIdentity, toWKT, transform, transform, transform
public final double base
public final double scale
protected ExponentialTransform1D(double base, double scale)
base
- The base to be raised to a power.scale
- The scale value to be multiplied.public static MathTransform1D create(double base, double scale)
base
- The base to be raised to a power.scale
- The scale value to be multiplied.public ParameterDescriptorGroup getParameterDescriptors()
getParameterDescriptors
in class AbstractMathTransform
null
.OperationMethod.getParameters()
public ParameterValueGroup getParameterValues()
getParameterValues
in class AbstractMathTransform
Operation.getParameterValues()
public int getSourceDimensions()
getSourceDimensions
in interface MathTransform
getSourceDimensions
in class AbstractMathTransform
public int getTargetDimensions()
getTargetDimensions
in interface MathTransform
getTargetDimensions
in class AbstractMathTransform
public MathTransform1D inverse()
inverse
in interface MathTransform
inverse
in interface MathTransform1D
inverse
in class AbstractMathTransform
public double derivative(double value)
derivative
in interface MathTransform1D
value
- The value where to evaluate the derivative.public double transform(double value)
transform
in interface MathTransform1D
value
- The value to transform.public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
transform
in interface MathTransform
transform
in class AbstractMathTransform
srcPts
- the array containing the source point coordinates.srcOff
- the offset to the first point to be transformed in the source array.dstPts
- the array into which the transformed point coordinates are returned. May be the
same than srcPts
.dstOff
- the offset to the location of the first transformed point that is stored in the
destination array.numPts
- the number of point objects to be transformed.public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
transform
in interface MathTransform
srcPts
- the array containing the source point coordinates.srcOff
- the offset to the first point to be transformed in the source array.dstPts
- the array into which the transformed point coordinates are returned. May be the
same than srcPts
.dstOff
- the offset to the location of the first transformed point that is stored in the
destination array.numPts
- the number of point objects to be transformed.public int hashCode()
hashCode
in class AbstractMathTransform
public boolean equals(Object object)
equals
in class AbstractMathTransform
object
- The object to compare with this transform.true
if the given object is a transform of the same class and if, given
identical source position, the transformed position would be the equals.Copyright © 1996–2019 Geotools. All rights reserved.