ice.util.unit
Class InchUnit
java.lang.Object
ice.util.unit.Unit
ice.util.unit.InchUnit
- All Implemented Interfaces:
- Cloneable
- public class InchUnit
- extends Unit
- Since:
- 6.0
- Author:
- Jean-Pierre Dube
- See Also:
Unit
|
Constructor Summary |
InchUnit()
Constructor: PFInchUnit |
InchUnit(double parValue)
|
|
Method Summary |
double |
getPoints()
Return the result of the conversion from
inches to points. |
void |
setPoints(double parPoints)
Set the value of this object in points a convert the
value to the current measurment system define by the
class. |
| Methods inherited from class ice.util.unit.Unit |
add, add, clone, divide, divide, equals, getUnits, multiply, multiply, setUnits, substract, substract, toString |
InchUnit
public InchUnit()
- Constructor: PFInchUnit
InchUnit
public InchUnit(double parValue)
- Parameters:
parValue - a value of type double
getPoints
public double getPoints()
- Return the result of the conversion from
inches to points.
- Specified by:
getPoints in class Unit
- Returns:
- a value of type double
setPoints
public void setPoints(double parPoints)
- Description copied from class:
Unit
- Set the value of this object in points a convert the
value to the current measurment system define by the
class.
- Specified by:
setPoints in class Unit
- Parameters:
parPoints - a value of type double