Skip to content

Instantly share code, notes, and snippets.

@LexSong
LexSong / octant_to_latlong.py
Last active October 27, 2019 01:03
Octant to LatLong
import sys
from collections import namedtuple
octant_dict = {
'0': (0, 0, 0),
'1': (1, 0, 0),
'2': (0, 1, 0),
'3': (1, 1, 0),
'4': (0, 0, 1),
'5': (1, 0, 1),