ice.util.unit
Class CmUnit

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

public class CmUnit
extends Unit

Class to represent metric cm units.

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

Constructor Summary
CmUnit()
          Constructor: CmUnit df
CmUnit(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

CmUnit

public CmUnit()
Constructor: CmUnit df


CmUnit

public CmUnit(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