source.ucregents.playground
Class Circle2d

java.lang.Object
  extended by java.awt.geom.RectangularShape
      extended by java.awt.geom.Ellipse2D
          extended by java.awt.geom.Ellipse2D.Double
              extended by source.ucregents.playground.Circle2d
All Implemented Interfaces:
java.awt.Shape, java.lang.Cloneable

public class Circle2d
extends java.awt.geom.Ellipse2D.Double

A Circle 2D is an Ellipse2D that accepts doubles and a radius as it's ctor paramaters

Author:
The UC Regents

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Ellipse2D
java.awt.geom.Ellipse2D.Double, java.awt.geom.Ellipse2D.Float
 
Field Summary
 
Fields inherited from class java.awt.geom.Ellipse2D.Double
height, width, x, y
 
Constructor Summary
Circle2d(double xUL, double yUL, double radius)
           
 
Method Summary
 double getRadius()
           
 
Methods inherited from class java.awt.geom.Ellipse2D.Double
getBounds2D, getHeight, getWidth, getX, getY, isEmpty, setFrame
 
Methods inherited from class java.awt.geom.Ellipse2D
contains, contains, getPathIterator, intersects
 
Methods inherited from class java.awt.geom.RectangularShape
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, getPathIterator, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Circle2d

public Circle2d(double xUL,
                double yUL,
                double radius)
Method Detail

getRadius

public double getRadius()