public class Bounds extends Object
PS1 instructions: do NOT change the method signatures or specifications of these methods, but you should implement their method bodies, and you may add new public or private methods or classes if you like.
Modifier and Type | Method | Description |
---|---|---|
static List<Angle> |
latitudeRange(Set<PointOfInterest> pointsOfInterest) |
Find minimum-area latitude range that encloses all points of interest.
|
static List<Angle> |
longitudeRange(Set<PointOfInterest> pointsOfInterest) |
Find minimum-area longitude range that encloses all points of interest.
|
public static List<Angle> latitudeRange(Set<PointOfInterest> pointsOfInterest)
pointsOfInterest
- set of POIs, not modified by this methodpublic static List<Angle> longitudeRange(Set<PointOfInterest> pointsOfInterest)
pointsOfInterest
- set of POIs, not modified by this method