get_section_box
The section box as { box: { min, max } | null } in f64 world space.
Usage
surface.query('get_section_box')Returns
object with box, in the ok: true envelope.
{
"type": "object",
"properties": {
"box": {
"type": [
"object",
"null"
],
"properties": {
"min": {
"type": "object",
"description": "f64 world-space point",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
},
"required": [
"x",
"y",
"z"
]
},
"max": {
"type": "object",
"description": "f64 world-space point",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
},
"required": [
"x",
"y",
"z"
]
}
},
"required": [
"min",
"max"
]
}
},
"required": [
"box"
]
}