A hypercube is the Cartesian product of equal-length closed intervals in Euclidean space. The centered cube has vertices, each with coordinates in . Antipodal vertices determine body diagonals.
Two sign-vector vertices of a centered hypercube differing in coordinates have dot product . Thus their body diagonals can be orthogonal only in even dimension. A collection of mutually orthogonal nonzero diagonals has at most members; achieving is equivalent to the existence of a Hadamard matrix of order . For unoriented lines the angle is determined by , while oriented vertex vectors retain the sign of their dot product.
Articles by others on the same topic
Convex hull of all (Cartesian product power) D-tuples, e.g. in 3D:
( 1, 1, 1)
( 1, 1, -1)
( 1, -1, 1)
( 1, -1, -1)
(-1, 1, 1)
(-1, 1, -1)
(-1, -1, 1)
(-1, -1, -1)