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
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
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–2018 GeoSolutions. All rights reserved.