Package org.geotools.geometry.util
Class XDimension2D.Double
- Object
-
- Dimension2D
-
- Double
-
- All Implemented Interfaces:
Serializable,Cloneable
- Enclosing class:
- XDimension2D
public static final class XDimension2D.Double extends Dimension2D implements Serializable
Implement double version ofDimension2D. This class is temporary; it will disappear if JavaSoft implementsDimension2D.FloatandDimension2D.Double.- Author:
- Martin Desruisseaux (IRD)
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetHeight()Returns the height.doublegetWidth()Returns the width.voidsetSize(double w, double h)Set width and height for this dimension.StringtoString()Returns a string representation of this dimension.-
Methods inherited from class Dimension2D
clone, setSize
-
-
-
-
Method Detail
-
setSize
public void setSize(double w, double h)Set width and height for this dimension.- Specified by:
setSizein classDimension2D- Parameters:
w- The width.h- The height.
-
getWidth
public double getWidth()
Returns the width.- Specified by:
getWidthin classDimension2D
-
getHeight
public double getHeight()
Returns the height.- Specified by:
getHeightin classDimension2D
-
-