Octant (solid geometry)

An octant in solid geometry is one of the eight divisions of a Euclidean three-dimensional coordinate system defined by the signs of the coordinates. It is similar to the two-dimensional quadrant and the one-dimensional ray.[1]

Three axial planes (x=0, y=0, z=0) divide space into eight octants. The eight (±,±,±) coordinates of the cube vertices are used to denote them. The horizontal plane shows the four quadrants between x- and y-axis. (Vertex numbers are little-endian balanced ternary.)

The generalization of an octant is called orthant.

Naming and numbering

Two representations of a right-hand coordinate system. The first one corresponds to the cube image.

A convention for naming an octant is to give its list of signs, e.g. (+,−,−) or (−,+,−). Octant (+,+,+) is sometimes referred to as the first octant, although similar ordinal name descriptors are not defined for the other seven octants. The advantages of using the (±,±,±) notation are its unambiguousness, and extensibility for higher dimensions.

The following table shows the sign tuples together with likely ways to enumerate them. A binary enumeration with − as 1 can be easily generalized across dimensions. A binary enumeration with + as 1 defines the same order as balanced ternary. The Roman enumeration of the quadrants is in Gray code order, so the corresponding Gray code is also shown for the octants.

Octants
Gray
code
x y z Binary Balanced
ternary
− as 1 + as 1
<><><>
0 +++ 0077 1313
1 ++ 1463 11−5
3 ++ 2255 77
2 + 3641 5−11
7 ++ 4136 −511
6 + 5522 −7−7
4 + 6314 −115
5 7700 −13−13
Quadrants for comparison
Roman x y Binary Balanced
ternary
− as 1 + as 1
<><><>
I ++ 0033 44
II + 1221 2−2
IV + 2112 −22
III 3300 −4−4


Little- and big-endian are marked by "<" and ">".

Verbal descriptions are ambiguous, because they depend on the representation of the coordinate system. In the two depicted representations of a right-hand coordinate system, the first octant could be called right-back-top or right-top-front respectively.

gollark: I've played one entire chess game, which I won, so I'm better than you.
gollark: I can play chess, so I doubt that.
gollark: No you can't. The bees still ship an internal GTech™ parity detector on their SoC.
gollark: … Why does this surprise you?
gollark: We've been testing the ethicality of numbers.

References

See also

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.