vmm3d.planecurve.parametric
Class Deltoid
- java.lang.Object
-
- vmm3d.core.Exhibit
-
- vmm3d.planecurve.PlaneCurve
-
- vmm3d.planecurve.parametric.PlaneCurveParametric
-
- vmm3d.planecurve.parametric.DecoratedCurve
-
- vmm3d.planecurve.parametric.Deltoid
-
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
public class Deltoid extends DecoratedCurve
Defines parametric Deltoid.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class vmm3d.planecurve.parametric.DecoratedCurve
DecoratedCurve.MMOView
-
Nested classes/interfaces inherited from class vmm3d.planecurve.parametric.PlaneCurveParametric
PlaneCurveParametric.PlaneCurveParametricView
-
-
Constructor Summary
Constructors Constructor and Description Deltoid()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublexDerivativeValue(double t)Override the numerical differentiation xValue(t).doublexValue(double t)Define the x-coordinate function x(t) = 2*cos(t)+cos(2*t) for the curve.doubleyDerivativeValue(double t)Override the numerical differentiation yValue(t).doubleyValue(double t)Define the y-coordinate function y(t) = (2*sin(t)-sin(2*t)) for the curve.-
Methods inherited from class vmm3d.planecurve.parametric.DecoratedCurve
doDraw, getCreateAnimation, getDefaultView, getStrokeSize, getWantedColor, setStrokeSize, setWantedColor
-
Methods inherited from class vmm3d.planecurve.parametric.PlaneCurveParametric
getActionsForView, getT, getTResolution, myCircle, x2ndDerivativeValue, y2ndDerivativeValue
-
Methods inherited from class vmm3d.planecurve.PlaneCurve
fillRandomSquare, getPoint, getPointCount, initializeMovingSquare
-
Methods inherited from class vmm3d.core.Exhibit
addChangeListener, addDecoration, addExtraXML, addView, clearDecorations, forceRedraw, getAdditionalAnimationsForView, getAlternativeViews, getBuildAnimation, getDecorations, getDefaultBackground, getDefaultForeground, getDefaultTransform, getDefaultWindow, getFramesForMorphing, getMorphingAnimation, getName, getParameterByName, getParameters, getSettingsCommandsForView, getTitle, getUseFilmstripForMorphing, getViews, parameterChanged, readExtraXML, removeChangeListener, removeDecoration, removeView, render, setDefaultBackground, setDefaultForeground, setDefaultWindow, setDefaultWindow, setFramesForMorphing, setName, setUseFilmstripForMorphing, stateChanged
-
-
-
-
Method Detail
-
xValue
public double xValue(double t)
Define the x-coordinate function x(t) = 2*cos(t)+cos(2*t) for the curve.- Specified by:
xValuein classPlaneCurveParametric
-
yValue
public double yValue(double t)
Define the y-coordinate function y(t) = (2*sin(t)-sin(2*t)) for the curve.- Specified by:
yValuein classPlaneCurveParametric
-
xDerivativeValue
public double xDerivativeValue(double t)
Override the numerical differentiation xValue(t). Returns -2*sin(t)-2*sin(2*t).- Overrides:
xDerivativeValuein classPlaneCurveParametric
-
yDerivativeValue
public double yDerivativeValue(double t)
Override the numerical differentiation yValue(t). Returns 2*cos(t)-2*cos(2*t).- Overrides:
yDerivativeValuein classPlaneCurveParametric
-
-
DMelt 3.0 © DataMelt by jWork.ORG