|
|||||||||
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.Parabola
public class Parabola
A parabola with a focus on the x-axis. The parabola is defined by its focal length.
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 | |
---|---|
Parabola()
Construct a parabola with a focus initially at the point (0.75.0). |
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. |
ActionList |
getActionsForView(View view)
Returns a list of actions that are applicable to the exhibit. |
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, 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 Parabola()
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
public ActionList getActionsForView(View view)
getActionsForView
in class PlaneCurveParametric
view
- The view for which the actions should apply. If this is null,
then no new actions are added to those inherited from the superclass.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |