scale.visual
Class SGDRhombus.Double

java.lang.Object
  extended by java.awt.geom.RectangularShape
      extended by scale.visual.SGDRhombus
          extended by scale.visual.SGDRhombus.Double
All Implemented Interfaces:
java.awt.geom.PathIterator, java.awt.Shape, java.lang.Cloneable
Enclosing class:
SGDRhombus

public static final class SGDRhombus.Double
extends SGDRhombus

A rhombus using double precision floating point coordinates.


Nested Class Summary
 
Nested classes/interfaces inherited from class scale.visual.SGDRhombus
SGDRhombus.Double, SGDRhombus.Float
 
Field Summary
 
Fields inherited from interface java.awt.geom.PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
 
Constructor Summary
SGDRhombus.Double()
           
 
Method Summary
 double getHeight()
           
 double getWidth()
           
 double getX()
           
 double getY()
           
 boolean isEmpty()
           
 void setFrame(double x, double y, double w, double h)
           
 
Methods inherited from class scale.visual.SGDRhombus
contains, contains, contains, currentSegment, currentSegment, getBounds2D, getPathIterator, getPathIterator, getWindingRule, intersects, intersects, intersects, isDone, next
 
Methods inherited from class java.awt.geom.RectangularShape
clone, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SGDRhombus.Double

public SGDRhombus.Double()
Method Detail

getX

public double getX()
Specified by:
getX in class SGDRhombus

getY

public double getY()
Specified by:
getY in class SGDRhombus

getWidth

public double getWidth()
Specified by:
getWidth in class SGDRhombus

getHeight

public double getHeight()
Specified by:
getHeight in class SGDRhombus

setFrame

public void setFrame(double x,
                     double y,
                     double w,
                     double h)
Specified by:
setFrame in class SGDRhombus

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in class java.awt.geom.RectangularShape