Direction3D

enum Direction3D : Enum<Direction3D>

A collection of constants representing directions

Entries

NORTH_WEST
Link copied to clipboard
NORTH_WEST(Coordinate3D(-1, 1, 0))
NORTH
Link copied to clipboard
NORTH(Coordinate3D(0, 1, 0))
NORTH_EAST
Link copied to clipboard
NORTH_EAST(Coordinate3D(1, 1, 0))
EAST
Link copied to clipboard
EAST(Coordinate3D(1, 0, 0))
SOUTH_EAST
Link copied to clipboard
SOUTH_EAST(Coordinate3D(1, -1, 0))
SOUTH
Link copied to clipboard
SOUTH(Coordinate3D(0, -1, 0))
SOUTH_WEST
Link copied to clipboard
SOUTH_WEST(Coordinate3D(-1, -1, 0))
WEST
Link copied to clipboard
WEST(Coordinate3D(-1, 0, 0))
ZENITH
Link copied to clipboard
ZENITH(Coordinate3D(0, 0, 1))
ZENITH_NORTH_WEST
Link copied to clipboard
ZENITH_NORTH_WEST(Coordinate3D(-1, 1, 1))
ZENITH_NORTH
Link copied to clipboard
ZENITH_NORTH(Coordinate3D(0, 1, 1))
ZENITH_NORTH_EAST
Link copied to clipboard
ZENITH_NORTH_EAST(Coordinate3D(1, 1, 1))
ZENITH_EAST
Link copied to clipboard
ZENITH_EAST(Coordinate3D(1, 0, 1))
ZENITH_SOUTH_EAST
Link copied to clipboard
ZENITH_SOUTH_EAST(Coordinate3D(1, -1, 1))
ZENITH_SOUTH
Link copied to clipboard
ZENITH_SOUTH(Coordinate3D(0, -1, 1))
ZENITH_SOUTH_WEST
Link copied to clipboard
ZENITH_SOUTH_WEST(Coordinate3D(-1, -1, 1))
ZENITH_WEST
Link copied to clipboard
ZENITH_WEST(Coordinate3D(-1, 0, 1))
NADIR
Link copied to clipboard
NADIR(Coordinate3D(0, 0, -1))
NADIR_NORTH_WEST
Link copied to clipboard
NADIR_NORTH_WEST(Coordinate3D(-1, 1, -1))
NADIR_NORTH
Link copied to clipboard
NADIR_NORTH(Coordinate3D(0, 1, -1))
NADIR_NORTH_EAST
Link copied to clipboard
NADIR_NORTH_EAST(Coordinate3D(1, 1, -1))
NADIR_EAST
Link copied to clipboard
NADIR_EAST(Coordinate3D(1, 0, -1))
NADIR_SOUTH_EAST
Link copied to clipboard
NADIR_SOUTH_EAST(Coordinate3D(1, -1, -1))
NADIR_SOUTH
Link copied to clipboard
NADIR_SOUTH(Coordinate3D(0, -1, -1))
NADIR_SOUTH_WEST
Link copied to clipboard
NADIR_SOUTH_WEST(Coordinate3D(-1, -1, -1))
NADIR_WEST
Link copied to clipboard
NADIR_WEST(Coordinate3D(-1, 0, -1))

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: Direction3D): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
fun finalize()
getDeclaringClass
Link copied to clipboard
fun getDeclaringClass(): Class<Direction3D>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

coordinate
Link copied to clipboard
val coordinate: Coordinate3D
the vector corresponding to each direction
name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int