wiki:olivine/dsl/types/box

3D Axis-Aligned Bounding Boxes

Olivine allows you to express what is known as a 3-dimensional axis-aligned box. It is a good idea to read-up on 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.

Here are some examples:

box <1, 2, 3> to <4, 5, 6>

box < -50.4, 0, -7 > to < -2, 5, 2 >

box <-8, -8, -8> to <5, 7, 9>
Last modified 4 years ago Last modified on May 21, 2020 10:34:44 PM