001/*
002 * To change this template, choose Tools | Templates
003 * and open the template in the editor.
004 */
005package armyc2.c5isr.graphics2d;
006
007/**
008 *
009*
010 */
011public class Point {
012    public int x=0;
013    public int y=0;
014    public Point()
015    {
016        x=0;
017        y=0;
018    }
019    public Point(int x1, int y1)
020    {
021        x=x1;
022        y=y1;
023    }
024    public int getX()
025    {
026        return x;
027    }
028    public int getY()
029    {
030        return y;
031    }
032    public void setLocation(int x1, int y1)
033    {
034        x=x1;
035        y=y1;
036    }
037    public void setLocation(double x1, double y1)
038    {
039        x=(int)x1;
040        y=(int)y1;
041    }
042    public void setLocation(float x1, float y1)
043    {
044        x=(int)x1;
045        y=(int)y1;
046    }
047}