Changes between Initial Version and Version 1 of olivine/dsl/types/box


Ignore:
Timestamp:
May 21, 2020 10:34:44 PM (4 years ago)
Author:
jonathan
Comment:

Page introduction

Legend:

Unmodified
Added
Removed
Modified
  • olivine/dsl/types/box

    v1 v1  
     1= 3D Axis-Aligned Bounding Boxes =
     2Olivine 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
     4Here are some examples:
     5
     6{{{
     7box <1, 2, 3> to <4, 5, 6>
     8
     9box < -50.4, 0, -7 > to < -2, 5, 2 >
     10
     11box <-8, -8, -8> to <5, 7, 9>
     12}}}