powered by
Takes a bbox and returns an equivalent polygon data-Polygon.
lawn_bbox_polygon(bbox)
An array of bounding box coordinates in the form: [xLow, yLow, xHigh, yHigh].
[xLow, yLow, xHigh, yHigh]
A data-Polygon representation of the bounding box.
Other measurements: lawn_along(), lawn_area(), lawn_bbox(), lawn_bearing(), lawn_center_of_mass(), lawn_center(), lawn_centroid(), lawn_destination(), lawn_distance(), lawn_envelope(), lawn_extent(), lawn_line_distance(), lawn_midpoint(), lawn_point_on_feature(), lawn_pt2line_distance(), lawn_square()
lawn_along()
lawn_area()
lawn_bbox()
lawn_bearing()
lawn_center_of_mass()
lawn_center()
lawn_centroid()
lawn_destination()
lawn_distance()
lawn_envelope()
lawn_extent()
lawn_line_distance()
lawn_midpoint()
lawn_point_on_feature()
lawn_pt2line_distance()
lawn_square()
# NOT RUN { bbox <- c(0, 0, 10, 10) lawn_bbox_polygon(bbox) # } # NOT RUN { lawn_bbox_polygon(bbox) %>% view lawn_bbox_polygon(c(1, 3, 5, 50)) %>% view # }
Run the code above in your browser using DataLab