Lines Matching defs:point
53 * Returns true iff point (x, y) is within or on the rectangle's bounds.
58 * @param x the x value of the point
59 * @param y the y value of the point
89 * If edge point [x, y] in array [x0, y0, x1, y1, ...] is outside of the
106 * Takes a point and the corners of a rectangle and returns the two corners
107 * representing the side of the rectangle closest to the point.
109 * @param point the point which is being checked
113 public static float[] closestSide(float[] point, float[] corners) {
123 GeometryMathUtils.shortestVectorFromPointToLine(point, line));
133 * Checks if a given point is within a rotated rectangle.
135 * @param point 2D point to check
138 * @return true if point is within rotated rectangle
140 public static boolean pointInRotatedRect(float[] point, RectF bound, float rot) {
142 float[] p = Arrays.copyOf(point, 2);
152 * Checks if a given point is within a rotated rectangle.
154 * @param point 2D point to check
157 * @return true if point is within rotated rectangle
159 public static boolean pointInRotatedRect(float[] point, float[] rotatedRect, float[] center) {
162 return pointInRotatedRect(point, unrotated, angle);