Package vash.value

Examples of vash.value.Position$Coord


    _values[2] = this.b = b;
    _children[0] = v;
  }
 
  public Spiral(double x, double y, double n, double b, OperationNode v) {
    this(new Position(x, y),
        new Bounded(n, MIN_N, MAX_N),
        new Bounded(b, MIN_B, MAX_B),
        v);
  }
View Full Code Here


        new Bounded(b, MIN_B, MAX_B),
        v);
  }

  public Spiral(Seed s) {
    this(new Position(s),
        new Bounded(s, MIN_N, MAX_N),
        new Bounded(s, MIN_B, MAX_B),
        null);
  }
View Full Code Here

    _values[3] = this.ratio = ratio;
    this.n_points = n_points;
  }
 
  public Flower(double x, double y, double angle, double size, double ratio, int n_points) {
    this(new Position(x, y), new Wrapping(angle, 0, 360), new Bounded(size, 0, MAX_SIZE), new Bounded(ratio, 0, 1), n_points);
  }
View Full Code Here

    this(new Position(x, y), new Wrapping(angle, 0, 360), new Bounded(size, 0, MAX_SIZE), new Bounded(ratio, 0, 1), n_points);
  }
 
  public Flower(Seed s) {
    super(4, 0);
    _values[0] = this.center = new Position(s);
    _values[1] = this.angle = new Wrapping(s, 0, 360);
    _values[2] = this.size = new Bounded(s, 0.0, MAX_SIZE);
    _values[3] = this.ratio = new Bounded(s, 0.0, 1.0);
    this.n_points = (int)(s.nextDouble() * 11.0) + 1;
  }
View Full Code Here

    _values[0] = this.p0 = p0;
    _values[1] = this.p1 = p1;
  }

  public LinearGradient(double x0, double y0, double x1, double y1) {
    this(new Position(x0, y0), new Position(x1, y1));
  }
View Full Code Here

  public LinearGradient(double x0, double y0, double x1, double y1) {
    this(new Position(x0, y0), new Position(x1, y1));
  }
 
  public LinearGradient(Seed s) {
    this(new Position(s), new Position(s));
  }
View Full Code Here

    _children[0] = a;
    _children[1] = b;
  }

  public Squircle(double x, double y, double r, double n, OperationNode a, OperationNode b) {
    this(new Position(x, y),
        new Bounded(r, MIN_R, MAX_R),
        new Bounded(n, MIN_N, MAX_N),
        a, b);
  }
View Full Code Here

        new Bounded(n, MIN_N, MAX_N),
        a, b);
  }

  public Squircle(Seed s) {
    this(new Position(s),
        new Bounded(s, MIN_R, MAX_R),
        new Bounded(s, MIN_N, MAX_N),
        null, null);
  }
View Full Code Here

TOP

Related Classes of vash.value.Position$Coord

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.