damianjrk

GCodeLayer

Sep 17th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.95 KB | None | 0 0
  1. import java.util.ArrayList;
  2. import java.util.List;
  3.  
  4. public class GCodeLayer {
  5.  
  6.     private double z;
  7.     private GCodeModel model;
  8.     private List<GCodeEdge> edges;
  9.     private List<GCodeVertex> vertices;
  10.  
  11.     protected GCodeLayer(GCodeModel model, double z) {
  12.     this.z = z;
  13.     this.model = model;
  14.     this.edges = new ArrayList<GCodeEdge>();
  15.     this.vertices = new ArrayList<GCodeVertex>();
  16.     }
  17.  
  18.     public double getZ() {
  19.     return z;
  20.     }
  21.  
  22.     public void setZ(double z) {
  23.     this.z = z;
  24.     }
  25.  
  26.     public GCodeModel getModel() {
  27.     return model;
  28.     }
  29.  
  30.     public void setModel(GCodeModel model) {
  31.     this.model = model;
  32.     }
  33.  
  34.     public List<GCodeEdge> getEdges() {
  35.     return edges;
  36.     }
  37.  
  38.     public void setEdges(List<GCodeEdge> edges) {
  39.     this.edges = edges;
  40.     }
  41.  
  42.     public List<GCodeVertex> getVertices() {
  43.     return vertices;
  44.     }
  45.  
  46.     public void setVertices(List<GCodeVertex> vertices) {
  47.     this.vertices = vertices;
  48.     }
  49.  
  50. }
Add Comment
Please, Sign In to add comment