public class IdentityAxis extends VariableAxis
CalibratedAxis whose raw and calibrated values are
the same.| Constructor and Description |
|---|
IdentityAxis()
Constructs a default IdentityAxis of unknown axis type.
|
IdentityAxis(AxisType type)
Constructs an IdentityAxis of the specified axis type.
|
IdentityAxis(AxisType type,
String unit)
Constructs an IdentityAxis of the specified axis type and unit.
|
| Modifier and Type | Method and Description |
|---|---|
double |
calibratedValue(double rawValue)
Returns a calibrated value given a raw position along the axis.
|
IdentityAxis |
copy()
Creates an exact duplicate of this axis.
|
String |
generalEquation()
Gets the general equation representing values along this axis; for
instance:
y = m*x + b. |
double |
rawValue(double calibratedValue)
Returns a raw value given a calibrated position along the axis.
|
get, numVars, particularEquation, set, varsaverageScale, equals, hashCode, setUnit, unitsetType, typepublic IdentityAxis()
public IdentityAxis(AxisType type)
public double calibratedValue(double rawValue)
CalibratedAxispublic double rawValue(double calibratedValue)
CalibratedAxispublic String generalEquation()
CalibratedAxisy = m*x + b.public IdentityAxis copy()
CalibratedAxisCopyright © 2014–2022 ImageJ. All rights reserved.