Region.java

Go to the documentation of this file.
00001 package theba.core;
00002 
00003 import theba.core.math.Point3D;
00004 
00012 public class Region {
00013 
00014         private short id;
00015 
00016         private BoxBounds bounds;
00017 
00018         public long size = 0;
00019 
00020         private StringBuffer info;
00021 
00022         Point3D origin;
00023 
00024         public Region(BoxBounds bounds, short id, long size, Point3D origin) {
00025                 super();
00026                 this.origin = origin;
00027                 this.bounds = bounds;
00028                 this.id = id;
00029                 this.size = size;
00030         }
00031 
00032         public Region(short id, BoxBounds bounds) {
00033                 super();
00034                 this.bounds = bounds;
00035                 this.id = id;
00036         }
00037 
00038         public BoxBounds getBounds() {
00039                 return bounds;
00040         }
00041 
00042         public void setBounds(BoxBounds bounds) {
00043                 this.bounds = bounds;
00044         }
00045 
00046         public short getId() {
00047                 return id;
00048         }
00049 
00050         public void setId(short id) {
00051                 this.id = id;
00052         }
00053 
00054         public StringBuffer getInfo() {
00055                 return info;
00056         }
00057 
00058         public void setInfo(StringBuffer info) {
00059                 this.info = info;
00060         }
00061 
00062         public long getSize() {
00063                 return size;
00064         }
00065 
00066         public void setSize(long size) {
00067                 this.size = size;
00068         }
00069 
00070 }

Generated on Fri Nov 13 08:57:07 2009 for Theba by  doxygen 1.6.1