|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectDefaultDomainElement1D
DefaultPiecewiseTransform1DElement
DefaultLinearPiecewiseTransform1DElement
public class DefaultLinearPiecewiseTransform1DElement
Convenience class for linear transformations that maps an interval to another interval.
Constructor Summary | |
---|---|
DefaultLinearPiecewiseTransform1DElement(CharSequence name,
NumberRange<? extends Number> inRange,
NumberRange<? extends Number> outRange)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Implementation of Object.equals(Object) for DomainElement1D s. |
protected 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 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 |
String |
toString()
|
Methods inherited from class 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 DefaultDomainElement1D |
---|
compareTo, contains, contains, contains, getInputMaximum, getInputMinimum, getName, getRange, isInputMaximumInfinite, isInputMaximumNaN, isInputMinimumInfinite, isInputMinimumNaN |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface DomainElement1D |
---|
contains, contains, contains, getName, getRange |
Methods inherited from interface Comparable |
---|
compareTo |
Methods inherited from interface MathTransform1D |
---|
derivative, inverse, transform |
Methods inherited from interface MathTransform |
---|
derivative, getSourceDimensions, getTargetDimensions, isIdentity, toWKT, transform, transform, transform |
Constructor Detail |
---|
public DefaultLinearPiecewiseTransform1DElement(CharSequence name, NumberRange<? extends Number> inRange, NumberRange<? extends 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 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 String toString()
toString
in class DefaultPiecewiseTransform1DElement
protected Class<?> getEquivalenceClass()
getEquivalenceClass
in class DefaultPiecewiseTransform1DElement
public boolean equals(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 |