001/*
002 * To change this template, choose Tools | Templates
003 * and open the template in the editor.
004 */
005
006package armyc2.c5isr.JavaLineArray;
007
008/**
009 * Class to provide a Point object with a linestyle to facilitate drawing.
010 */
011public class POINT2
012{
013    public double  x;
014    public double  y;
015    public int style;
016    public int segment;
017    public POINT2(double x, double y)
018    {
019        this.x=x;
020        this.y=y;
021        this.style=0;
022    }
023    public POINT2(double x, double y, int segment, int style)
024    {
025        this.x=x;
026        this.y=y;
027        this.segment=segment;
028        this.style=style;
029    }
030    public POINT2(double x, double y, int style)
031    {
032        this.x=x;
033        this.y=y;
034        this.style=style;
035    }
036    public POINT2(POINT2 pt)
037    {
038        this.x=pt.x;
039        this.y=pt.y;
040        this.segment=pt.segment;
041        this.style=pt.style;
042    }
043    public POINT2()
044    {
045        this.x=0;
046        this.y=0;
047        this.style=0;
048    }
049}
050