class GeometricCumulativeDoubleBondFactory implements StereoEncoderFactory {

    static int elevation(IBond bond, IAtom a) {
        return bond.getBegin().equals(a) ? elevation(bond) : elevation(bond) * -1;
    }

}