|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.referencing.piecewise.DefaultDomainElement1D
org.geotools.referencing.piecewise.DefaultPiecewiseTransform1DElement
org.geotools.referencing.piecewise.DefaultLinearPiecewiseTransform1DElement
public class DefaultLinearPiecewiseTransform1DElement
Convenience class for linear transformations that maps an interval to another interval.
Constructor Summary | |
---|---|
DefaultLinearPiecewiseTransform1DElement(java.lang.CharSequence name,
NumberRange<? extends java.lang.Number> inRange,
NumberRange<? extends java.lang.Number> outRange)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Implementation of Object.equals(Object) for DomainElement1D s. |
protected java.lang.Class<?> |
getEquivalenceClass()
|
double |
getOffset()
Retrieves the offset factor for this linear PiecewiseTransform1DElement . |
double |
getOutputMaximum()
Returns the maximum output values for this DefaultLinearPiecewiseTransform1DElement ; |
double |
getOutputMinimum()
Returns the minimum output values for this DefaultLinearPiecewiseTransform1DElement ; |
NumberRange<? extends java.lang.Number> |
getOutputRange()
Returns the range for the output values for this DefaultLinearPiecewiseTransform1DElement ; |
double |
getScale()
Retrieves the scale factor for this linear PiecewiseTransform1DElement . |
int |
hashCode()
Returns a hash value for this domain element. |
boolean |
isOutputMaximumInfinite()
Tells me if the upper boundary of the output range is infinite |
boolean |
isOutputMaximumNaN()
Tells me if the upper boundary of the output range is NaN |
boolean |
isOutputMinimumInfinite()
Tells me if the lower boundary of the output range is infinite |
boolean |
isOutputMinimumNaN()
Tells me if the lower boundary of the output range is NaN |
java.lang.String |
toString()
|
Methods inherited from class org.geotools.referencing.piecewise.DefaultPiecewiseTransform1DElement |
---|
create, create, create, create, create, create, create, derivative, derivative, getSourceDimensions, getTargetDimensions, getTransform, inverse, isIdentity, setInverse, setTransform, toWKT, transform, transform, transform, transform, transform, transform |
Methods inherited from class org.geotools.referencing.piecewise.DefaultDomainElement1D |
---|
compareTo, contains, contains, contains, getInputMaximum, getInputMinimum, getName, getRange, isInputMaximumInfinite, isInputMaximumNaN, isInputMinimumInfinite, isInputMinimumNaN |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.geotools.referencing.piecewise.DomainElement1D |
---|
contains, contains, contains, getName, getRange |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface org.opengis.referencing.operation.MathTransform1D |
---|
derivative, inverse, transform |
Methods inherited from interface org.opengis.referencing.operation.MathTransform |
---|
derivative, getSourceDimensions, getTargetDimensions, isIdentity, toWKT, transform, transform, transform, transform, transform |
Constructor Detail |
---|
public DefaultLinearPiecewiseTransform1DElement(java.lang.CharSequence name, NumberRange<? extends java.lang.Number> inRange, NumberRange<? extends java.lang.Number> outRange)
name
- for this DefaultLinearPiecewiseTransform1DElement
.inRange
- for this DefaultLinearPiecewiseTransform1DElement
.outRange
- for this DefaultLinearPiecewiseTransform1DElement
.Method Detail |
---|
public double getOutputMaximum()
DefaultLinearPiecewiseTransform1DElement
;
DefaultLinearPiecewiseTransform1DElement
;public double getOutputMinimum()
DefaultLinearPiecewiseTransform1DElement
;
DefaultLinearPiecewiseTransform1DElement
;public NumberRange<? extends java.lang.Number> getOutputRange()
DefaultLinearPiecewiseTransform1DElement
;
DefaultLinearPiecewiseTransform1DElement
;public boolean isOutputMinimumNaN()
true
if the lower boundary of the output range is NaN, false
otherwise.public boolean isOutputMaximumNaN()
true
if the upper boundary of the output range is NaN, false
otherwise.public boolean isOutputMinimumInfinite()
true
if the lower boundary of the output range is infinite, false
otherwise.public boolean isOutputMaximumInfinite()
true
if the upper boundary of the output range is infinite, false
otherwise.public double getScale()
PiecewiseTransform1DElement
.
PiecewiseTransform1DElement
.public double getOffset()
PiecewiseTransform1DElement
.
PiecewiseTransform1DElement
.public java.lang.String toString()
toString
in class DefaultPiecewiseTransform1DElement
protected java.lang.Class<?> getEquivalenceClass()
getEquivalenceClass
in class DefaultPiecewiseTransform1DElement
public boolean equals(java.lang.Object obj)
DefaultDomainElement1D
Object.equals(Object)
for DomainElement1D
s.
Two DefaultDomainElement1D
s are considered to be equal if they have
the same inputr range and the same name.
equals
in interface DomainElement1D
equals
in class DefaultPiecewiseTransform1DElement
obj
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.Object.equals(Object)
public int hashCode()
DefaultDomainElement1D
hashCode
in class DefaultPiecewiseTransform1DElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |