Class BoundsMap
- java.lang.Object
-
- org.gcube.application.geoportalcommon.shared.gis.BoundsMap
-
- All Implemented Interfaces:
Serializable
public class BoundsMap extends Object implements Serializable
The Class BoundsMap.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Oct 27, 2020
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCrs()Gets the crs.doublegetLowerLeftX()Gets the lower left X.doublegetLowerLeftY()Gets the lower left Y.doublegetUpperRightX()Gets the upper right X.doublegetUpperRightY()Gets the upper right Y.voidsetCrs(String crs)Sets the crs.voidsetLowerLeftX(double lowerLeftX)Sets the lower left X.voidsetLowerLeftY(double lowerLeftY)Sets the lower left Y.voidsetUpperRightX(double upperRightX)Sets the upper right X.voidsetUpperRightY(double upperRightY)Sets the upper right Y.StringtoString()
-
-
-
Constructor Detail
-
BoundsMap
public BoundsMap()
Instantiates a new bounds map.
-
BoundsMap
public BoundsMap(double lowerLeftX, double lowerLeftY, double upperRightX, double upperRightY, String crs)Instantiates a new bounds map.- Parameters:
lowerLeftX- the lower left XlowerLeftY- the lower left YupperRightX- the upper right XupperRightY- the upper right Ycrs- the crs
-
-
Method Detail
-
getLowerLeftX
public double getLowerLeftX()
Gets the lower left X.- Returns:
- the lower left X
-
setLowerLeftX
public void setLowerLeftX(double lowerLeftX)
Sets the lower left X.- Parameters:
lowerLeftX- the new lower left X
-
getLowerLeftY
public double getLowerLeftY()
Gets the lower left Y.- Returns:
- the lower left Y
-
setLowerLeftY
public void setLowerLeftY(double lowerLeftY)
Sets the lower left Y.- Parameters:
lowerLeftY- the new lower left Y
-
getUpperRightX
public double getUpperRightX()
Gets the upper right X.- Returns:
- the upper right X
-
setUpperRightX
public void setUpperRightX(double upperRightX)
Sets the upper right X.- Parameters:
upperRightX- the new upper right X
-
getUpperRightY
public double getUpperRightY()
Gets the upper right Y.- Returns:
- the upper right Y
-
setUpperRightY
public void setUpperRightY(double upperRightY)
Sets the upper right Y.- Parameters:
upperRightY- the new upper right Y
-
getCrs
public String getCrs()
Gets the crs.- Returns:
- the crs
-
setCrs
public void setCrs(String crs)
Sets the crs.- Parameters:
crs- the new crs
-
-