Package xal.tools.transforms
Interface DoubleTransform
- All Superinterfaces:
DataTransform
- All Known Implementing Classes:
DoubleTransformAdaptor
Implementation of DataTransform for the
double primitive type.
DoubleTransform provides a convenient way to implement general
transformations between double precision floating point values.- Author:
- tap
- See Also:
-
Field Summary
Fields inherited from interface xal.tools.transforms.DataTransform
NO_OPERATION_TRANSFORM -
Method Summary
Modifier and TypeMethodDescriptiondoubleconvertFromRaw(double rawValue) Convert a raw value to a physical value.doubleconvertToRaw(double physicalValue) Convert a physical value to a raw value.Methods inherited from interface xal.tools.transforms.DataTransform
valueTransform
-
Method Details
-
convertFromRaw
double convertFromRaw(double rawValue) Convert a raw value to a physical value.- Parameters:
rawValue- The raw value to be converted to a physical value.- Returns:
- A physical equivalent of the raw value.
-
convertToRaw
double convertToRaw(double physicalValue) Convert a physical value to a raw value.- Parameters:
physicalValue- The physical value to be converted to a raw value.- Returns:
- A raw value equivalent of the physical value.
-