/** * Normalize the configuration to the lowest configuration order (1) - * the axis goes from the first to last carrier, the three middle carriers * are anti-clockwise looking from the first carrier. * @return the normalized configuration */ public TrigonalBipyramidal normalize() { int cfg = getConfigOrder(); if (cfg == 1) return this; IAtom[] carriers = invapply(getCarriers().toArray(new IAtom[5]), PERMUTATIONS[cfg-1]); return new TrigonalBipyramidal(getFocus(), carriers, 1); }
/** * Normalize the configuration to the lowest configuration order (1) - * the axis goes from the first to last carrier, the three middle carriers * are anti-clockwise looking from the first carrier. * @return the normalized configuration */ public TrigonalBipyramidal normalize() { int cfg = getConfigOrder(); if (cfg == 1) return this; IAtom[] carriers = invapply(getCarriers().toArray(new IAtom[5]), PERMUTATIONS[cfg-1]); return new TrigonalBipyramidal(getFocus(), carriers, 1); }