| 1 | = 3D Axis-Aligned Bounding Boxes = |
| 2 | Olivine allows you to express what is known as a 3-dimensional axis-aligned box. It is a good idea to read-up on [wiki:olivine/dsl/types/coordinates coordinates] prior to reading this section. An axis-aligned box is expressed using a set of two coordinate values that define opposite corners of the box. The syntax is as follows `box <first> to <second>` where ''first'' is the westerly and northern top corner of the box and ''second'' is the easterly southern bottom corner. |
| 3 | |
| 4 | Here are some examples: |
| 5 | |
| 6 | {{{ |
| 7 | box <1, 2, 3> to <4, 5, 6> |
| 8 | |
| 9 | box < -50.4, 0, -7 > to < -2, 5, 2 > |
| 10 | |
| 11 | box <-8, -8, -8> to <5, 7, 9> |
| 12 | }}} |