public interface PiecewiseTransform1D<T extends PiecewiseTransform1DElement> extends Domain1D<T>
PiecewiseTransform1D
interface extends the Domain1D
adding transformation capabilities to it.Modifier and Type | Method and Description |
---|---|
double |
getDefaultValue()
The default value which will be returned when asked to transform a value outside the valid domain elements.
|
boolean |
hasDefaultValue()
Indicates whether or not this
PiecewiseTransform1D has a default value which will be returned when asked to transform a value outside
the valid domain elements. |
double |
transform(double value)
Transforms the specified value.
|
findDomainElement, getApproximateDomainRange, getName, hasGaps
double transform(double value) throws TransformationException
value
- The value to transform.TransformationException
- if the value can't be transformed.boolean hasDefaultValue()
PiecewiseTransform1D
has a default value which will be returned when asked to transform a value outside
the valid domain elements.boolean
to indicate whether or not this PiecewiseTransform1D
has a default value.double getDefaultValue()
In case hasDefaultValue()
return false
this value has no meaning.
Copyright © 2006–2017 GeoSolutions. All rights reserved.