|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vmm.core.Exhibit vmm.planecurve.PlaneCurve vmm.planecurve.parametric.PlaneCurveParametric vmm.planecurve.parametric.ConicSection vmm.planecurve.parametric.Ellipse
public class Ellipse
An ellipse, represented as a parametric plane curve. The ellipse is given by the parametric equations (a*cos(t),b*sin(t)), where a and b are the semi-axes of the ellipse, for t between 0 and 2*pi.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class vmm.planecurve.parametric.PlaneCurveParametric |
---|
PlaneCurveParametric.PlaneCurveParametricView |
Field Summary |
---|
Fields inherited from class vmm.planecurve.parametric.PlaneCurveParametric |
---|
tmax, tmin, tResolution, tVals |
Fields inherited from class vmm.planecurve.PlaneCurve |
---|
movingSquare, points, randomSquare |
Fields inherited from class vmm.core.Exhibit |
---|
decorations, exhibitNeedsRedraw, isMorphing, morphingView, parameters, previousTransform |
Constructor Summary | |
---|---|
Ellipse()
Construct an Ellipse that is centered at the origin and initially has vertical "radius" 2 and horizontal "radius" 3. |
Method Summary | |
---|---|
protected void |
drawFociAndDirectrix(java.awt.Graphics2D g,
View view,
Transform limits,
double t)
This is overridden in the sub-classes to do the actual drawing of the extra decorations. |
double |
x2ndDerivativeValue(double t)
Computes x''(t) for a given value of t. |
double |
xDerivativeValue(double t)
Computes x'(t) for a given value of t. |
double |
xValue(double t)
Computes x(t) for a given value of t. |
double |
y2ndDerivativeValue(double t)
Computes y''(t) for a given value of t. |
double |
yDerivativeValue(double t)
Computes y'(t) for a given value of t. |
double |
yValue(double t)
Computes y(t) for a given value of t. |
Methods inherited from class vmm.planecurve.parametric.ConicSection |
---|
getCreateAnimation, getMorphingAnimation |
Methods inherited from class vmm.planecurve.parametric.PlaneCurveParametric |
---|
doDraw, getActionsForView, getDefaultView, getT, getTResolution, makePoints, myCircle |
Methods inherited from class vmm.planecurve.PlaneCurve |
---|
computeDrawData, fillRandomSquare, getPoint, getPointCount, initializeMovingSquare, moveSquare |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Ellipse()
Method Detail |
---|
public double xValue(double t)
PlaneCurveParametric
xValue
in class PlaneCurveParametric
public double yValue(double t)
PlaneCurveParametric
yValue
in class PlaneCurveParametric
public double xDerivativeValue(double t)
PlaneCurveParametric
xDerivativeValue
in class PlaneCurveParametric
public double yDerivativeValue(double t)
PlaneCurveParametric
yDerivativeValue
in class PlaneCurveParametric
public double x2ndDerivativeValue(double t)
PlaneCurveParametric
x2ndDerivativeValue
in class PlaneCurveParametric
public double y2ndDerivativeValue(double t)
PlaneCurveParametric
y2ndDerivativeValue
in class PlaneCurveParametric
protected void drawFociAndDirectrix(java.awt.Graphics2D g, View view, Transform limits, double t)
ConicSection
drawFociAndDirectrix
in class ConicSection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |