Construct a axis-aligned rectangular bounding box object.
Arguments
- sc
The Spark connection.
- min_x
Minimum x-value of the bounding box, can be +/- Inf.
- max_x
Maximum x-value of the bounding box, can be +/- Inf.
- min_y
Minimum y-value of the bounding box, can be +/- Inf.
- max_y
Maximum y-value of the bounding box, can be +/- Inf.
Examples
library(sparklyr)
library(apache.sedona)
sc <- spark_connect(master = "spark://HOST:PORT")
bb <- new_bounding_box(sc, -1, 1, -1, 1)