ice.util.unit
Class MmUnit

java.lang.Object
  extended byice.util.unit.Unit
      extended byice.util.unit.MmUnit
All Implemented Interfaces:
Cloneable

public class MmUnit
extends Unit

Class to represent metric cm units.

Since:
6.0
Author:
Jean-Pierre Dube
See Also:
Unit

Constructor Summary
MmUnit()
          Constructor: CmUnit df
MmUnit(double parValue)
           
 
Method Summary
 double getPoints()
          Return the result of the conversion from centimeters 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
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MmUnit

public MmUnit()
Constructor: CmUnit df


MmUnit

public MmUnit(double parValue)
Parameters:
parValue - a value of type double
Method Detail

getPoints

public double getPoints()
Return the result of the conversion from centimeters 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