public class DefaultConstantPiecewiseTransformElement extends DefaultLinearPiecewiseTransform1DElement implements PiecewiseTransform1DElement, Comparable<DomainElement1D>, Serializable
PiecewiseTransform1DElement
that can be used to map single values or an interval to a single output value.Constructor and Description |
---|
DefaultConstantPiecewiseTransformElement(CharSequence name,
Range inRange,
byte outVal)
Constructor.
|
DefaultConstantPiecewiseTransformElement(CharSequence name,
Range inRange,
double outVal)
Constructor.
|
DefaultConstantPiecewiseTransformElement(CharSequence name,
Range inRange,
int outVal)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MathTransformation |
inverse()
The transformation we are specifying here is not always invertible, well, to be honest, strictly speaking it never really is.
|
equals, getEquivalenceClass, getOffset, getOutputMaximum, getOutputMinimum, getOutputRange, getScale, hashCode, isOutputMaximumInfinite, isOutputMaximumNaN, isOutputMinimumInfinite, isOutputMinimumNaN, toString
create, create, create, create, create, create, create, getSourceDimensions, getTargetDimensions, getTransform, isIdentity, setInverse, setTransform, transform, transform
compareTo, contains, contains, contains, getInputMaximum, getInputMinimum, getName, getRange, isInputMaximumInfinite, isInputMaximumNaN, isInputMinimumInfinite, isInputMinimumNaN
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
transform
contains, contains, contains, equals, getName, getRange
compareTo
public DefaultConstantPiecewiseTransformElement(CharSequence name, Range inRange, double outVal) throws IllegalArgumentException
name
- for this DomainElement1D
inRange
- for this DomainElement1D
outVal
- for this DefaultLinearPiecewiseTransform1DElement
IllegalArgumentException
- in case the input values are illegal.public DefaultConstantPiecewiseTransformElement(CharSequence name, Range inRange, int outVal) throws IllegalArgumentException
name
- for this DomainElement1D
inRange
- for this DomainElement1D
outVal
- for this DefaultLinearPiecewiseTransform1DElement
IllegalArgumentException
- in case the input values are illegal.public DefaultConstantPiecewiseTransformElement(CharSequence name, Range inRange, byte outVal) throws IllegalArgumentException
name
- for this DomainElement1D
inRange
- for this DomainElement1D
outVal
- for this DefaultLinearPiecewiseTransform1DElement
IllegalArgumentException
- in case the input values are illegal.public MathTransformation inverse() throws NoninvertibleTransformException
inverse
in class DefaultPiecewiseTransform1DElement
NoninvertibleTransformException
Copyright © 2006–2018 GeoSolutions. All rights reserved.