Class BoundingBox
- java.lang.Object
-
- nl.tailormap.viewer.config.services.BoundingBox
-
-
Constructor Summary
Constructors Constructor Description BoundingBox()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundingBoxclone()booleanequals(Object obj)static BoundingBoxfromJSONObject(org.json.JSONObject obj)CoordinateReferenceSystemgetCrs()DoublegetMaxx()DoublegetMaxy()DoublegetMinx()DoublegetMiny()inthashCode()voidsetBounds(String bounds)Set the minx, miny,maxx, maxy with a comma seperated stringvoidsetCrs(CoordinateReferenceSystem crs)voidsetMaxx(Double maxx)voidsetMaxy(Double maxy)voidsetMinx(Double minx)voidsetMiny(Double miny)org.json.JSONObjecttoJSONObject()
-
-
-
Method Detail
-
getCrs
public CoordinateReferenceSystem getCrs()
-
setCrs
public void setCrs(CoordinateReferenceSystem crs)
-
getMaxx
public Double getMaxx()
-
setMaxx
public void setMaxx(Double maxx)
-
getMaxy
public Double getMaxy()
-
setMaxy
public void setMaxy(Double maxy)
-
getMinx
public Double getMinx()
-
setMinx
public void setMinx(Double minx)
-
getMiny
public Double getMiny()
-
setMiny
public void setMiny(Double miny)
-
setBounds
public void setBounds(String bounds)
Set the minx, miny,maxx, maxy with a comma seperated string- Parameters:
bounds- comma seperated coordinates.
-
fromJSONObject
public static BoundingBox fromJSONObject(org.json.JSONObject obj)
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONException- Throws:
org.json.JSONException
-
clone
public BoundingBox clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-