Home | History | Annotate | Download | only in geometry

Lines Matching refs:Point

20 import android.filterfw.geometry.Point;
32 super(new Point(x, y),
33 new Point(x + width, y),
34 new Point(x, y + height),
35 new Point(x + width, y + height));
38 public Rectangle(Point origin, Point size) {
45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) {
46 Point p0 = new Point(center.x - size.x/2f, center.y - size.y/2f);
47 Point p1 = new Point(center.x + size.x/2f, center.y - size.y/2f);
48 Point p2 = new Point(center.x - size.x/2f, center.y + size.y/2f);
49 Point p3 = new Point(center.x + size.x/2f, center.y + size.y/2f);
56 private Rectangle(Point p0, Point p1, Point p2, Point p3) {
60 public static Rectangle fromCenterVerticalAxis(Point center, Point vAxis, Point size) {
61 Point dy = vAxis.scaledTo(size.y / 2.0f);
62 Point dx = vAxis.rotated90(1).scaledTo(size.x / 2.0f);
77 public Point center() {