root / org.gvsig.geotools.proj / trunk / org.gvsig.geotools.proj / org.gvsig.geotools.proj.catalog.impl / src / main / java / org / gvsig / geotools / proj / catalog / extent / DefaultGeographicBoundingBox.java @ 853
History | View | Annotate | Download (984 Bytes)
1 |
package org.gvsig.geotools.proj.catalog.extent; |
---|---|
2 |
|
3 |
import org.gvsig.proj.catalog.extent.GeographicBoundingBox; |
4 |
|
5 |
public class DefaultGeographicBoundingBox implements GeographicBoundingBox { |
6 |
private final double westBoundLongitude, eastBoundLongitude, |
7 |
northBoundLatitude, southBoundLatitude; |
8 |
|
9 |
public DefaultGeographicBoundingBox(
|
10 |
double westBoundLongitude, double eastBoundLongitude, |
11 |
double northBoundLatitude, double southBoundLatitude) { |
12 |
this.westBoundLongitude = westBoundLongitude;
|
13 |
this.eastBoundLongitude = eastBoundLongitude;
|
14 |
this.northBoundLatitude = northBoundLatitude;
|
15 |
this.southBoundLatitude = southBoundLatitude;
|
16 |
} |
17 |
|
18 |
@Override
|
19 |
public double getWestBoundLongitude() { |
20 |
return westBoundLongitude;
|
21 |
} |
22 |
|
23 |
@Override
|
24 |
public double getEastBoundLongitude() { |
25 |
return eastBoundLongitude;
|
26 |
} |
27 |
|
28 |
@Override
|
29 |
public double getSouthBoundLatitude() { |
30 |
return southBoundLatitude;
|
31 |
} |
32 |
|
33 |
@Override
|
34 |
public double getNorthBoundLatitude() { |
35 |
return northBoundLatitude;
|
36 |
} |
37 |
|
38 |
} |