Euclidean geometry code