damianjrk

GCodeVertex

Sep 17th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.57 KB | None | 0 0
  1. public class GCodeVertex {
  2.  
  3.     private double x;
  4.     private double y;
  5.     private GCodeLayer layer;
  6.  
  7.     protected GCodeVertex(GCodeLayer layer, double x, double y) {
  8.     this.layer = layer;
  9.     this.x = x;
  10.     this.y = y;
  11.     }
  12.  
  13.     public double getX() {
  14.     return x;
  15.     }
  16.  
  17.     public void setX(double x) {
  18.     this.x = x;
  19.     }
  20.  
  21.     public double getY() {
  22.     return y;
  23.     }
  24.  
  25.     public void setY(double y) {
  26.     this.y = y;
  27.     }
  28.  
  29.     public GCodeLayer getLayer() {
  30.     return layer;
  31.     }
  32.  
  33.     public void setLayer(GCodeLayer layer) {
  34.     this.layer = layer;
  35.     }
  36.  
  37. }
Advertisement
Add Comment
Please, Sign In to add comment