F.10. cube — a multi-dimensional cube data type
|
Function Description Example(s) |
|---|
|
Makes a one dimensional cube with both coordinates the same.
|
|
Makes a one dimensional cube.
|
|
Makes a zero-volume cube using the coordinates defined by the array.
|
|
Makes a cube with upper right and lower left coordinates as defined by the two arrays, which must be of the same length.
|
|
Makes a new cube by adding a dimension on to an existing cube, with the same values for both endpoints of the new coordinate. This is useful for building cubes piece by piece from calculated values.
|
|
Makes a new cube by adding a dimension on to an existing cube. This is useful for building cubes piece by piece from calculated values.
|
|
Returns the number of dimensions of the cube.
|
|
Returns the
|
|
Returns the
|
|
Returns true if the cube is a point, that is, the two defining corners are the same.
|
|
Returns the distance between two cubes. If both cubes are points, this is the normal distance function.
|
|
Makes a new cube from an existing cube, using a list of dimension indexes from an array. Can be used to extract the endpoints of a single dimension, or to drop dimensions, or to reorder them as desired.
|
|
Produces the union of two cubes.
|
|
Produces the intersection of two cubes.
|
|
Increases the size of the cube by the specified radius
|