Note

The aromaticity (see Aromaticity Perception chapter) has to be perceived by calling the OEAssignAromaticFlags function prior to calling OEPerceiveCIPStereo.

OEPerceiveCIPStereo

unsigned int OEPerceiveCIPStereo(const OEMolBase& mol, const OEAtomBase* atom);

Perceives the Cahn-Ingold-Prelog descriptor for the given atom. The return value is taken from the OECIPAtomStereo namespace.

For a chiral atom center the function returns

The function always returns OECIPAtomStereo.NotStereo for the following atoms:

See also

unsigned int OEPerceiveCIPStereo(const OEMolBase& mol, const OEBondBase* bond);

Perceives the Cahn-Ingold-Prelog descriptor for the given bond stereo center. The return value is taken from the OECIPBondStereo namespace.

For a double bond, the function returns

For a non-chiral bond, the function always returns OECIPBondStereo.NotStereo.

See also