|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.common.geo.ShapeBuilder.RectangleBuilder
public static class ShapeBuilder.RectangleBuilder
Builder for creating a Rectangle
instance
Constructor Summary | |
---|---|
ShapeBuilder.RectangleBuilder()
|
Method Summary | |
---|---|
ShapeBuilder.RectangleBuilder |
bottomRight(double lon,
double lat)
Sets the bottom right point of the Rectangle |
com.spatial4j.core.shape.Rectangle |
build()
Builds the Rectangle instance |
ShapeBuilder.RectangleBuilder |
topLeft(double lon,
double lat)
Sets the top left point of the Rectangle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShapeBuilder.RectangleBuilder()
Method Detail |
---|
public ShapeBuilder.RectangleBuilder topLeft(double lon, double lat)
lon
- Longitude of the top left pointlat
- Latitude of the top left point
public ShapeBuilder.RectangleBuilder bottomRight(double lon, double lat)
lon
- Longitude of the bottom right pointlat
- Latitude of the bottom right point
public com.spatial4j.core.shape.Rectangle build()
Rectangle
instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |