1 package org.lcsim.geometry.compact.converter.lcdd.util; 2 3 /** 4 * 5 * @author jeremym 6 */ 7 public class GlobalGridXY extends Segmentation 8 { 9 public GlobalGridXY() 10 { 11 super("global_grid_xy"); 12 setAttribute("grid_size_x", "0.0"); 13 setAttribute("grid_size_y", "0.0"); 14 } 15 16 public void setGridSizeX(double gsx) 17 { 18 setAttribute("grid_size_x", String.valueOf(gsx)); 19 } 20 21 public void setGridSizeY(double gsy) 22 { 23 setAttribute("grid_size_y", String.valueOf(gsy)); 24 } 25 }