Class RectangleLocation
java.lang.Object
com.here.platform.location.referencing.RectangleLocation
- All Implemented Interfaces:
BoundingBoxHolder
,ReferencingLocation
,Serializable
,scala.Equals
,scala.Product
,scala.Serializable
public class RectangleLocation
extends Object
implements ReferencingLocation, BoundingBoxHolder, scala.Product, scala.Serializable
A location represented by a bounding-box.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRectangleLocation
(double northLatitude, double southLatitude, double eastLongitude, double westLongitude) -
Method Summary
Modifier and TypeMethodDescriptionstatic <BB> RectangleLocation
apply
(BB box, BoundingBoxOperations<BB> evidence$2) static BoundingBoxAdapter<RectangleLocation>
static <BB> RectangleLocation
create
(BB box, BoundingBoxAdapter<BB> adapter) double
double
double
double
double
double
double
double
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
-
Constructor Details
-
RectangleLocation
public RectangleLocation(double northLatitude, double southLatitude, double eastLongitude, double westLongitude) -
RectangleLocation
-
-
Method Details
-
create
-
apply
-
boundingBoxOperations
-
boundingBoxAdapter
-
northLatitude
public double northLatitude() -
southLatitude
public double southLatitude() -
eastLongitude
public double eastLongitude() -
westLongitude
public double westLongitude() -
getNorthLatitude
public double getNorthLatitude()- Specified by:
getNorthLatitude
in interfaceBoundingBoxHolder
-
getSouthLatitude
public double getSouthLatitude()- Specified by:
getSouthLatitude
in interfaceBoundingBoxHolder
-
getEastLongitude
public double getEastLongitude()- Specified by:
getEastLongitude
in interfaceBoundingBoxHolder
-
getWestLongitude
public double getWestLongitude()- Specified by:
getWestLongitude
in interfaceBoundingBoxHolder
-