Package vash.value

Examples of vash.value.Bounded


    _values[1] = this.phase = phase;
    _children[0] = child;
  }

  public Sinc(double freq, double phase, OperationNode child) {
    this(new Bounded(freq, MIN_FREQ, MAX_FREQ), new Wrapping(phase, MIN_PHASE, MAX_PHASE), child);
  }
View Full Code Here


  public Sinc(double freq, double phase, OperationNode child) {
    this(new Bounded(freq, MIN_FREQ, MAX_FREQ), new Wrapping(phase, MIN_PHASE, MAX_PHASE), child);
  }
 
  public Sinc(Seed s) {
    this(new Bounded(s, MIN_FREQ, MAX_FREQ), new Wrapping(s, MIN_PHASE, MAX_PHASE), null);
  }
View Full Code Here

    _values[1] = this.phase = phase;
    _children[0] = child;
  }

  public Sine(double freq, double phase, OperationNode child) {
    this(new Bounded(freq, MIN_FREQ, MAX_FREQ), new Wrapping(phase, MIN_PHASE, MAX_PHASE), child);
  }
View Full Code Here

  public Sine(double freq, double phase, OperationNode child) {
    this(new Bounded(freq, MIN_FREQ, MAX_FREQ), new Wrapping(phase, MIN_PHASE, MAX_PHASE), child);
  }
 
  public Sine(Seed s) {
    this(new Bounded(s, MIN_FREQ, MAX_FREQ), new Wrapping(s, MIN_PHASE, MAX_PHASE), null);
  }
View Full Code Here

  /**
   * Constructor that takes a specified value (e.g. for testing).
   */
  public Const(double init) {
    this(new Bounded(init, MIN_VALUE, MAX_VALUE));
  }
View Full Code Here

  /**
   * Construct with a random initial value.
   */
  public Const(Seed s) {
    this(new Bounded(s, MIN_VALUE, MAX_VALUE));
  }
View Full Code Here

    _values[1] = this.f1 = f1;
    _values[2] = this.size = size;
  }
 
  public Ellipse(double x0, double y0, double x1, double y1, double size) {
    this(new Position(x0, y0), new Position(x1, y1), new Bounded(size, MIN_SIZE, MAX_SIZE));
  }
View Full Code Here

  public Ellipse(double x0, double y0, double x1, double y1, double size) {
    this(new Position(x0, y0), new Position(x1, y1), new Bounded(size, MIN_SIZE, MAX_SIZE));
  }
 
  public Ellipse(Seed s) {
    this(new Position(s), new Position(s), new Bounded(s, MIN_SIZE, MAX_SIZE));
  }
View Full Code Here

    _values[3] = this.angle = angle;
  }
 
  public RadialGradient(double x, double y, double w, double h, double angle) {
    this(new Position(x, y),
        new Bounded(w, MIN_SIZE, MAX_SIZE),
        new Bounded(h, MIN_SIZE, MAX_SIZE),
        new Wrapping(angle, MIN_ANGLE, MAX_ANGLE));
  }
View Full Code Here

        new Wrapping(angle, MIN_ANGLE, MAX_ANGLE));
  }
 
  public RadialGradient(Seed s) {
    this(new Position(s),
        new Bounded(s, MIN_SIZE, MAX_SIZE),
        new Bounded(s, MIN_SIZE, MAX_SIZE),
        new Wrapping(s, MIN_ANGLE, MAX_ANGLE));
  }
View Full Code Here

TOP

Related Classes of vash.value.Bounded

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.