Class EDU.emporia.mathbeans.Ellipse
All Packages Class Hierarchy This Package Previous Next Index
Class EDU.emporia.mathbeans.Ellipse
Object
|
+----ParametricCurve
|
+----EDU.emporia.mathbeans.Ellipse
- public class Ellipse
- extends ParametricCurve
A paramerized ellipse
- Version:
- 1.0
- Author:
- Joe Yanik
- Since:
- 7/3/00
-
xCenter
- The x-coordinate of the center
-
xRadius
- The radius in the x-direction
-
yCenter
- The y-coordinate of the center
-
yRadius
- The radius in the y-direction
-
EDU.emporia.mathbeans.Ellipse()
-
-
getPoint(double)
- The point on the ellipse at the indicated parameter
-
getXCenter()
- Gets the x-coordinate of the center of the ellipse
-
getXRadius()
- Gets the radius of the axis of the ellipse that is parallel to the x-axis
-
getYCenter()
- Gets the y-coordinate of the center of the ellipse
-
getYRadius()
- Gets the radius of the axis of the ellipse that is parallel to the y-axis
-
setXCenter(double)
- Sets the x-coordinate of the center of the ellipse
-
setXRadius(double)
- Sets the radius of the axis of the ellipse that is parallel to the x-axis
-
setYCenter(double)
- Sets the y-coordinate of the center of the ellipse
-
setYRadius(double)
- Sets the radius of the axis of the ellipse that is parallel to the y-axis
xCenter
protected double xCenter
- The x-coordinate of the center
xRadius
protected double xRadius
- The radius in the x-direction
yCenter
protected double yCenter
- The y-coordinate of the center
yRadius
protected double yRadius
- The radius in the y-direction
Ellipse
public Ellipse()
getPoint
public EDU.emporia.mathtools.Point2D getPoint(double u)
- The point on the ellipse at the indicated parameter
- Parameters:
- u - The parameter
- Returns:
- The point
- Overrides:
- getPoint in class ParametricCurve
getXCenter
public double getXCenter()
- Gets the x-coordinate of the center of the ellipse
- Returns:
- The x-coordinate of the center
getXRadius
public double getXRadius()
- Gets the radius of the axis of the ellipse that is parallel to the x-axis
- Returns:
- The radius of the axis of the ellipse that is parallel to the x-axis
getYCenter
public double getYCenter()
- Gets the y-coordinate of the center of the ellipse
- Returns:
- The y-coordinate of the center
getYRadius
public double getYRadius()
- Gets the radius of the axis of the ellipse that is parallel to the y-axis
- Returns:
- The radius of the axis of the ellipse that is parallel to the y-axis
setXCenter
public void setXCenter(double xCenter)
- Sets the x-coordinate of the center of the ellipse
- Parameters:
- xCenter - The x-coordinate of the center
setXRadius
public void setXRadius(double xRadius)
- Sets the radius of the axis of the ellipse that is parallel to the x-axis
- Parameters:
- xRadius - The radius of the axis of the ellipse that is parallel to the x-axis
setYCenter
public void setYCenter(double yCenter)
- Sets the y-coordinate of the center of the ellipse
- Parameters:
- yCenter - The y-coordinate of the center
setYRadius
public void setYRadius(double yRadius)
- Sets the radius of the axis of the ellipse that is parallel to the y-axis
- Parameters:
- yRadius - The radius of the axis of the ellipse that is parallel to the y-axis
All Packages Class Hierarchy This Package Previous Next Index