Uses of Class
com.geodesk.core.Box

Packages that use Box
Package
Description
 
 
  • Uses of Box in com.geodesk.core

    Methods in com.geodesk.core that return Box
    Modifier and Type
    Method
    Description
    static Box
    Box.atLonLat(double lon, double lat)
    Creates a `Box` that covers a single point.
    static Box
    Box.atXY(int x, int y)
    Creates a `Box` that covers a single point.
    static Box
    Tile.bounds(int tile)
     
    static Box
     
    static Box
    Creates a Box from a string that specifies four coordinates (west, south, east, north), in degrees longitude/latitude.
    static Box
    Box.impsAroundXY(int d, int x, int y)
    Creates a bounding box whose sides extend by a specific distance relative to a coordinate pair.
    Box.intersection(com.geodesk.geom.Bounds o)
    Creates a new bounding box that is the result of the intersection between this bounding box and another.
    static Box
    Tile.intersection(int tile, com.geodesk.geom.Bounds bounds)
    Calculates a new BoundingBox that represents the area of overlap between the given bounds and the bounding box of a tile
    static Box
    Box.metersAround(double meters, com.geodesk.geom.Bounds other)
    Creates a bounding box whose sides are extended by a specific distance relative to another bounding box.
    static Box
    Box.metersAroundLonLat(double meters, double lon, double lat)
    Creates a bounding box whose sides extend by a specific distance relative to a coordinate pair.
    static Box
    Box.metersAroundXY(double meters, int x, int y)
    Creates a bounding box whose sides extend by a specific distance relative to a coordinate pair.
    static Box
    Box.of(Geometry geom)
     
    static Box
    Box.of(LineSegment seg)
     
    static Box
    Box.ofWorld()
    Creates a bounding box that covers the entire world.
    static Box
    Box.ofWSEN(double west, double south, double east, double north)
     
    static Box
    Box.ofXYWidthHeight(int x, int y, int w, int h)
     
    static Box
    Box.ofXYXY(int x1, int y1, int x2, int y2)
     
  • Uses of Box in com.geodesk.feature

    Methods in com.geodesk.feature that return Box
    Modifier and Type
    Method
    Description
    Feature.bounds()
    Retrieves the bounding box of the feature.