net.sourceforge.jeuclid.elements.support
Class Dimension2DImpl

java.lang.Object
  extended by java.awt.geom.Dimension2D
      extended by net.sourceforge.jeuclid.elements.support.Dimension2DImpl
All Implemented Interfaces:
Cloneable

public class Dimension2DImpl
extends Dimension2D

Version:
$Revision: 8afef6dd0d58 $

Constructor Summary
Dimension2DImpl(float w, float h)
          Default Constructor.
 
Method Summary
 double getHeight()
          
 double getWidth()
          
 void setSize(double w, double h)
          
 
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
 

Constructor Detail

Dimension2DImpl

public Dimension2DImpl(float w,
                       float h)
Default Constructor.

Parameters:
w - new width.
h - new height.
Method Detail

getHeight

public double getHeight()

Specified by:
getHeight in class Dimension2D

getWidth

public double getWidth()

Specified by:
getWidth in class Dimension2D

setSize

public void setSize(double w,
                    double h)

Specified by:
setSize in class Dimension2D


Copyright © 2002-2010 The JEuclid project. All Rights Reserved.