Java Geometry Algorithm checkPoint(Point p)

Here you can find the source of checkPoint(Point p)

Description

check Point

License

Open Source License

Declaration

public static boolean checkPoint(Point p) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.awt.Point;
import java.awt.Rectangle;

public class Main {
    public static Rectangle clip = new Rectangle(0, 0, 1, 1);

    public static boolean checkPoint(Point p) {
        return clip.contains(p);
    }/* w w  w  .jav  a  2s  .  co m*/
}

Related

  1. bound(Point... points)
  2. boundingBox(Vector points)
  3. boundsOf(Collection points)
  4. cap(java.awt.geom.Point2D.Double p1, java.awt.geom.Point2D.Double p2, double radius)
  5. centroid(Vector points)
  6. checkPoint(Point point, String name)
  7. checkWinPossibility(int[][] board, Point p1, Point p2, int playerID)
  8. circleLineIntersection(double theta, double r, double h, double k, Point2D[] result)
  9. clacGradient(Point2D p1, Point2D p2, Point2D p3)