Class ConcatenatedTransformDirect1D
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.operation.transform.AbstractMathTransform
org.apache.sis.referencing.operation.transform.ConcatenatedTransform
org.apache.sis.referencing.operation.transform.ConcatenatedTransformDirect
org.apache.sis.referencing.operation.transform.ConcatenatedTransformDirect1D
- All Implemented Interfaces:
Serializable
,Parameterized
,LenientComparable
,org.opengis.referencing.operation.MathTransform
,org.opengis.referencing.operation.MathTransform1D
final class ConcatenatedTransformDirect1D
extends ConcatenatedTransformDirect
implements org.opengis.referencing.operation.MathTransform1D
Concatenated transform where both transforms are one-dimensional.
- Since:
- 0.5
- Version:
- 0.5
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.referencing.operation.transform.AbstractMathTransform
AbstractMathTransform.Inverse
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Serial number for inter-operability with different versions.Fields inherited from class org.apache.sis.referencing.operation.transform.ConcatenatedTransform
transform1, transform2
Fields inherited from class org.apache.sis.referencing.operation.transform.AbstractMathTransform
MAXIMUM_BUFFER_SIZE, MAXIMUM_FAILURES
-
Constructor Summary
ConstructorsConstructorDescriptionConcatenatedTransformDirect1D
(org.opengis.referencing.operation.MathTransform1D transform1, org.opengis.referencing.operation.MathTransform1D transform2) Constructs a concatenated transform. -
Method Summary
Modifier and TypeMethodDescriptiondouble
derivative
(double value) Gets the derivative of this function at a value.org.opengis.referencing.operation.MathTransform1D
inverse()
Creates the inverse transform of this object.(package private) boolean
isValid()
Checks if transforms are compatibles with this implementation.double
transform
(double value) Transforms the specified value.Methods inherited from class org.apache.sis.referencing.operation.transform.ConcatenatedTransformDirect
transform, transform, transform
Methods inherited from class org.apache.sis.referencing.operation.transform.ConcatenatedTransform
computeHashCode, create, derivative, equals, formatTo, getDomain, getParameterDescriptors, getParameterValues, getSourceDimensions, getSteps, getTargetDimensions, isIdentity, setInverse, transform, transform, transform, tryConcatenate
Methods inherited from class org.apache.sis.referencing.operation.transform.AbstractMathTransform
beforeFormat, equals, getContextualParameters, hashCode, isInverseEquals, mismatchedDimension
Methods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, 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, getSourceDimensions, getTargetDimensions, isIdentity, toWKT, transform, transform, transform, transform, transform
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
-
Constructor Details
-
ConcatenatedTransformDirect1D
ConcatenatedTransformDirect1D(org.opengis.referencing.operation.MathTransform1D transform1, org.opengis.referencing.operation.MathTransform1D transform2) Constructs a concatenated transform.
-
-
Method Details
-
isValid
boolean isValid()Checks if transforms are compatibles with this implementation.- Overrides:
isValid
in classConcatenatedTransformDirect
-
transform
public double transform(double value) throws org.opengis.referencing.operation.TransformException Transforms the specified value.- Specified by:
transform
in interfaceorg.opengis.referencing.operation.MathTransform1D
- Throws:
org.opengis.referencing.operation.TransformException
-
derivative
public double derivative(double value) throws org.opengis.referencing.operation.TransformException Gets the derivative of this function at a value.- Specified by:
derivative
in interfaceorg.opengis.referencing.operation.MathTransform1D
- Throws:
org.opengis.referencing.operation.TransformException
-
inverse
public org.opengis.referencing.operation.MathTransform1D inverse() throws org.opengis.referencing.operation.NoninvertibleTransformExceptionCreates the inverse transform of this object.- Specified by:
inverse
in interfaceorg.opengis.referencing.operation.MathTransform
- Specified by:
inverse
in interfaceorg.opengis.referencing.operation.MathTransform1D
- Overrides:
inverse
in classConcatenatedTransform
- Throws:
org.opengis.referencing.operation.NoninvertibleTransformException
-