net.sf.jcgm.core
Class DimensionDouble

java.lang.Object
  extended by java.awt.geom.Dimension2D
      extended by net.sf.jcgm.core.DimensionDouble
All Implemented Interfaces:
java.lang.Cloneable

public class DimensionDouble
extends java.awt.geom.Dimension2D

A Dimension2D implementation that keeps the width and height in double precision.

Version:
$Id: DimensionDouble.java 46 2011-12-14 08:26:44Z phica $
Author:
Philippe Cadé

Method Summary
 double getHeight()
           
 double getWidth()
           
 void setSize(double width, double height)
           
 
Methods inherited from class java.awt.geom.Dimension2D
clone, setSize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHeight

public double getHeight()
Specified by:
getHeight in class java.awt.geom.Dimension2D

getWidth

public double getWidth()
Specified by:
getWidth in class java.awt.geom.Dimension2D

setSize

public void setSize(double width,
                    double height)
Specified by:
setSize in class java.awt.geom.Dimension2D


Part of the jcgm library http://jcgm.sourceforge.net/