Package org.springframework.data.geo
Class Box
java.lang.Object
org.springframework.data.geo.Box
- All Implemented Interfaces:
- Serializable,- Shape
Represents a geospatial box value
- Since:
- 1.8
- Author:
- Mark Pollack, Oliver Gierke, Thomas Darimont
- See Also:
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
BoxCreates a new Box spanning from the given first to the secondPoint.- Parameters:
- first- must not be null.
- second- must not be null.
 
- 
Boxpublic Box(double[] first, double[] second) Creates a new Box from the givenfirstto thesecondpoint represented as the double[].- Parameters:
- first- must not be null and contain exactly 2 doubles.
- second- must not be null and contain exactly 2 doubles.
 
 
- 
- 
Method Details