Documentation of 'vmm3d.planecurve.parametric.SineCurve' Java class
SineCurve
vmm3d.planecurve.parametric

Class SineCurve

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable


    public class SineCurve
    extends DecoratedCurve
    Defines a sine curve as a parametric plane curve. The amplitude, frequency, and phase of the curve are parameters that can be set by the user. By default, the curve has amplitude 1, frequency 1, and phase 0 and is defined on the intervale [0,2pi].
    • Constructor Detail

      • SineCurve

        public SineCurve()
    • Method Detail

      • xValue

        public double xValue(double t)
        Define the x-coordinate function x(t) = t for the parametric curve.
        Specified by:
        xValue in class PlaneCurveParametric
      • yValue

        public double yValue(double t)
        Define the y-coordinate function y(t) = a*sin(f*(t-p)), where a is the amplitude, f is the frequency, and p is the phase.
        Specified by:
        yValue in class PlaneCurveParametric

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.