View Javadoc
1   package au.gov.amsa.geo.projection;
2   
3   public class ProjectorBounds {
4   	private double minX;
5   	private double minY;
6   	private double maxX;
7   	private double maxY;
8   	private final String srs;
9   
10  	public String getSrs() {
11  		return srs;
12  	}
13  
14  	public ProjectorBounds(String srs, double minX, double minY, double maxX,
15  			double maxY) {
16  		super();
17  		this.minX = minX;
18  		this.minY = minY;
19  		this.maxX = maxX;
20  		this.maxY = maxY;
21  		this.srs = srs;
22  	}
23  
24  	public double getMinX() {
25  		return minX;
26  	}
27  
28  	public void setMinX(double minX) {
29  		this.minX = minX;
30  	}
31  
32  	public double getMinY() {
33  		return minY;
34  	}
35  
36  	public void setMinY(double minY) {
37  		this.minY = minY;
38  	}
39  
40  	public double getMaxX() {
41  		return maxX;
42  	}
43  
44  	public void setMaxX(double maxX) {
45  		this.maxX = maxX;
46  	}
47  
48  	public double getMaxY() {
49  		return maxY;
50  	}
51  
52  	public void setMaxY(double maxY) {
53  		this.maxY = maxY;
54  	}
55  
56  	@Override
57  	public String toString() {
58  		return "ProjectorBounds [srs=" + srs + ", minX=" + minX + ", minY="
59  				+ minY + ", maxX=" + maxX + ", maxY=" + maxY + "]";
60  	}
61  
62  }