/Users/20800/Desktop/IA_Final_Submission_000307-0050/Product/IA_Netbeans_Project/src/mainPackage/XYPoint.java
 1 /*
 2  * To change this license header, choose License Headers in Project Properties.
 3  * To change this template file, choose Tools | Templates
 4  * and open the template in the editor.
 5  */
 6 package mainPackage;
 7 
 8 /**
 9  *
10  * @author 20800
11  */
12 
13 // The XYPoint class creates an object storing x and y values used when using the custom point entry function type
14 
15 public class XYPoint{
16     
17     private double xValue = 0.0; // values used on the graph
18     private double yValue = 0.0;
19     
20     public XYPoint(){
21         
22     }
23     
24     public XYPoint(double xValue, double yValue){
25         this.xValue = xValue;
26         this.yValue = yValue;
27     }
28     
29     public double getXValue() { // retrieves data
30         return xValue;
31     }
32     
33     public double getYValue() {
34         return yValue;
35     }
36     
37     public void setXValue(double xValue) {  //edits data
38         this.xValue = xValue;
39     }
40     
41     public void setYValue(double yValue) {
42         this.yValue = yValue;
43     }
44 }
45