Documentation of 'vgp.curve.deCasteljau.PjDeCasteljau' Java class
PjDeCasteljau ("JavaView Reference Manual")
"JavaView? v5.03.003"
vgp.curve.deCasteljau

Class PjDeCasteljau

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsTimeListenerIf, PsUpdateIf, PvPickListenerIf


    public class PjDeCasteljau
    extends PjProject
    Visualization of the de Casteljau algorithm where a control polygon produces a polynomial Bezier curve. Intermediate steps and evaluation position may be animated.
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    03.11.06, 2.00 revised (kp) Package moved to vgp.curve.deCasteljau from dev.app.deCasteljau.
    05.10.04, 1.00 created (kp)
    • Constructor Detail

      • PjDeCasteljau

        public PjDeCasteljau()
    • Method Detail

      • init

        public void init()
        Description copied from class: PjProject
        Initialize and reset project, stops the running animation if any. Does not reset any registered display nor geometry. They must be reset individually in each subclass.
        Overrides:
        init in class PjProject
      • compute

        public void compute(double t)
        Evaluate Bezier curve at given argument value.
        Parameters:
        t - position in [0,1] where Bezier curve is evaluated.
      • getPosition

        public double getPosition()
        Get current position in [0,1] where bezier curve is evaluated.
      • setPosition

        public void setPosition(double time)
        Set current position in [0,1] where bezier curve is evaluated.
"JavaView? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

Ads help maintain this website.