get_bbox
get_bbox(points) -> List of 4 coords [x1,y1,x2,y2]
Returns the bounding box (top-left and bottom-right) from a list of points.
Syntaxe
var pts = get_bbox(points=[x1,y1,x2,y2...]) ;
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
points | yes | - | List of points [x0,y0,x1,y1,...] |