pub fn check_regular_polygon(atoms: &[&Atom]) -> bool
Checks if a sequence of atoms are vertices of a regular polygon.
atoms
A flag indicating if the atoms form the vertices of a regular polygon.
Panics if atoms contains fewer than three atoms.