public class Bounds extends Object
Constructor and Description |
---|
Bounds(double topLeftLat,
double topLeftLon,
double bottomRightLat,
double bottomRightLon) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(double lat,
double lon) |
boolean |
contains(HasFix p) |
Bounds |
expand(double latExpansionDegrees,
double lonExpansionDegrees) |
double |
getBottomRightLat() |
double |
getBottomRightLon() |
double |
getHeightDegrees() |
double |
getTopLeftLat() |
double |
getTopLeftLon() |
double |
getWidthDegrees() |
String |
toString() |
public Bounds(double topLeftLat, double topLeftLon, double bottomRightLat, double bottomRightLon)
public double getTopLeftLat()
public double getTopLeftLon()
public double getBottomRightLat()
public double getBottomRightLon()
public double getWidthDegrees()
public double getHeightDegrees()
public boolean contains(HasFix p)
public boolean contains(double lat, double lon)
public Bounds expand(double latExpansionDegrees, double lonExpansionDegrees)
Copyright © 2020. All rights reserved.