|
|||||||||
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.DecoratedCurve vmm.planecurve.parametric.Deltoid
public class Deltoid
Defines parametric Deltoid.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class vmm.planecurve.parametric.DecoratedCurve |
---|
DecoratedCurve.MMOView |
Nested classes/interfaces inherited from class vmm.planecurve.parametric.PlaneCurveParametric |
---|
PlaneCurveParametric.PlaneCurveParametricView |
Field Summary |
---|
Fields inherited from class vmm.planecurve.parametric.DecoratedCurve |
---|
strokeSize, wantedColor |
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 | |
---|---|
Deltoid()
|
Method Summary | |
---|---|
protected void |
drawNeededStuff(java.awt.Graphics2D g,
View view,
Transform limits,
double t)
|
double |
xDerivativeValue(double t)
Override the numerical differentiation xValue(t). |
double |
xValue(double t)
Define the x-coordinate function x(t) = 2*cos(t)+cos(2*t) for the curve. |
double |
yDerivativeValue(double t)
Override the numerical differentiation yValue(t). |
double |
yValue(double t)
Define the y-coordinate function y(t) = (2*sin(t)-sin(2*t)) for the curve. |
Methods inherited from class vmm.planecurve.parametric.DecoratedCurve |
---|
doDraw, getCreateAnimation, getDefaultView, getStrokeSize, getWantedColor, setStrokeSize, setWantedColor |
Methods inherited from class vmm.planecurve.parametric.PlaneCurveParametric |
---|
getActionsForView, getT, getTResolution, makePoints, myCircle, x2ndDerivativeValue, y2ndDerivativeValue |
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 Deltoid()
Method Detail |
---|
public double xValue(double t)
xValue
in class PlaneCurveParametric
public double yValue(double t)
yValue
in class PlaneCurveParametric
public double xDerivativeValue(double t)
xDerivativeValue
in class PlaneCurveParametric
public double yDerivativeValue(double t)
yDerivativeValue
in class PlaneCurveParametric
protected void drawNeededStuff(java.awt.Graphics2D g, View view, Transform limits, double t)
drawNeededStuff
in class DecoratedCurve
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |