Lines Matching defs:p2
34 public Point p2;
40 public Quad(Point p0, Point p1, Point p2, Point p3) {
43 this.p2 = p2;
50 p2.IsInUnitRange() &&
55 return new Quad(p0.plus(t), p1.plus(t), p2.plus(t), p3.plus(t));
59 return new Quad(p0.plus(x, y), p1.plus(x, y), p2.plus(x, y), p3.plus(x, y));
63 return new Quad(p0.times(s), p1.times(s), p2.times(s), p3.times(s));
67 return new Quad(p0.mult(x, y), p1.mult(x, y), p2.mult(x, y), p3.mult(x, y));
71 List<Float> xs = Arrays.asList(p0.x, p1.x, p2.x, p3.x);
72 List<Float> ys = Arrays.asList(p0.y, p1.y, p2.y, p3.y);
81 List<Float> xs = Arrays.asList(p0.x, p1.x, p2.x, p3.x);
86 List<Float> ys = Arrays.asList(p0.y, p1.y, p2.y, p3.y);
92 return "{" + p0 + ", " + p1 + ", " + p2 + ", " + p3 + "}";