ice.util.unit
Class PointUnit

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

public class PointUnit
extends Unit

Class to represent point units.

Since:
6.0
Author:
Patrick Corless
See Also:
Unit

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

PointUnit

public PointUnit()
Constructor: CmUnit


PointUnit

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