vmm3d.planecurve.parametric
Class Circle
- java.lang.Object
-
- vmm3d.core.Exhibit
-
- vmm3d.planecurve.PlaneCurve
-
- vmm3d.planecurve.parametric.PlaneCurveParametric
-
- vmm3d.planecurve.parametric.DecoratedCurve
-
- vmm3d.planecurve.parametric.Circle
-
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
public class Circle extends DecoratedCurve
A circle, given as a parametric plane curve.
-
-
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 Circle()Construct a circle of radius 3, centered at the origin.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ViewgetDefaultView()Overridden to return a view of type MMOView.doublex2ndDerivativeValue(double t)Computes x''(t) for a given value of t.doublexDerivativeValue(double t)Computes x'(t) for a given value of t.doublexValue(double t)Computes x(t) for a given value of t.doubley2ndDerivativeValue(double t)Computes y''(t) for a given value of t.doubleyDerivativeValue(double t)Computes y'(t) for a given value of t.doubleyValue(double t)Computes y(t) for a given value of t.-
Methods inherited from class vmm3d.planecurve.parametric.DecoratedCurve
doDraw, getCreateAnimation, getStrokeSize, getWantedColor, setStrokeSize, setWantedColor
-
Methods inherited from class vmm3d.planecurve.parametric.PlaneCurveParametric
getActionsForView, getT, getTResolution, myCircle
-
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
-
-
-
-
Constructor Detail
-
Circle
public Circle()
Construct a circle of radius 3, centered at the origin. The radius is an animateable parameter with default animation start and end values 1 and 5. The circle is given by the parametric equations (radius*cos(t),radius*sin(t)), for t between 0 and 2*pi.
-
-
Method Detail
-
xValue
public double xValue(double t)
Description copied from class:PlaneCurveParametricComputes x(t) for a given value of t.- Specified by:
xValuein classPlaneCurveParametric
-
yValue
public double yValue(double t)
Description copied from class:PlaneCurveParametricComputes y(t) for a given value of t.- Specified by:
yValuein classPlaneCurveParametric
-
xDerivativeValue
public double xDerivativeValue(double t)
Description copied from class:PlaneCurveParametricComputes x'(t) for a given value of t. The default version defined in this class computes an approximate value numerically, using values of the function itself at points near t.- Overrides:
xDerivativeValuein classPlaneCurveParametric
-
yDerivativeValue
public double yDerivativeValue(double t)
Description copied from class:PlaneCurveParametricComputes y'(t) for a given value of t. The default version defined in this class computes an approximate value numerically, using values of the function itself at points near t.- Overrides:
yDerivativeValuein classPlaneCurveParametric
-
x2ndDerivativeValue
public double x2ndDerivativeValue(double t)
Description copied from class:PlaneCurveParametricComputes x''(t) for a given value of t. The default version defined in this class computes an approximate value numerically, using values of the function itself at points near t.- Overrides:
x2ndDerivativeValuein classPlaneCurveParametric
-
y2ndDerivativeValue
public double y2ndDerivativeValue(double t)
Description copied from class:PlaneCurveParametricComputes y''(t) for a given value of t. The default version defined in this class computes an approximate value numerically, using values of the function itself at points near t.- Overrides:
y2ndDerivativeValuein classPlaneCurveParametric
-
getDefaultView
public View getDefaultView()
Description copied from class:DecoratedCurveOverridden to return a view of type MMOView.- Overrides:
getDefaultViewin classDecoratedCurve
-
-
DMelt 3.0 © DataMelt by jWork.ORG