org.geotools.referencing.piecewise
Interface PiecewiseTransform1D<T extends PiecewiseTransform1DElement>

All Superinterfaces:
Collection<T>, Domain1D<T>, Iterable<T>, List<T>, MathTransform, MathTransform1D
All Known Subinterfaces:
ColorMapTransform<T>
All Known Implementing Classes:
DefaultPiecewiseTransform1D, LinearColorMap

public interface PiecewiseTransform1D<T extends PiecewiseTransform1DElement>
extends Domain1D<T>, MathTransform1D

The PiecewiseTransform1D interface extends the Domain1D adding transformation capabilities to it.

Author:
Simone Giannecchini, GeoSolutions.

Method Summary
 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.
 
Methods inherited from interface Domain1D
findDomainElement, getApproximateDomainRange, getName, hasGaps
 
Methods inherited from interface List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 
Methods inherited from interface MathTransform1D
derivative, inverse, transform
 
Methods inherited from interface MathTransform
derivative, getSourceDimensions, getTargetDimensions, isIdentity, toWKT, transform, transform, transform
 

Method Detail

hasDefaultValue

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.

Returns:
a boolean to indicate whether or not this PiecewiseTransform1D has a default value.

getDefaultValue

double getDefaultValue()
The default value which will be returned when asked to transform a value outside the valid domain elements.

In case hasDefaultValue() return false this value has no meaning.

Returns:
The default value which will be returned when asked to transform a value outside the valid domain elements.


Copyright © 1996-2009 Geotools. All Rights Reserved.