OESetCIPStereo¶
bool OESetCIPStereo(OEMolBase &mol, OEAtomBase* atom, unsigned int cipstereo);
Sets the internal OEChem TK stereochemistry from the given CIP atom stereo descriptor.
The descriptor must be either OECIPAtomStereo::R
or
OECIPAtomStereo::S
.
This function returns true if the stereochemistry was successfully set,
and false otherwise: i.e. the descriptor was invalid or the specified atom
was not a CIP atom stereo center.
See also
OEPerceiveCIPStereo
to perceive CIP atom stereo descriptor.CIP Stereo Perception section
bool OESetCIPStereo(OEMolBase &mol, OEBondBase* bond, unsigned int cipstereo);
Sets the internal OEChem TK stereochemistry from the given CIP atom stereo descriptor.
The descriptor must be either OECIPBondStereo::E
or
OECIPBondStereo::Z
.
This function returns true if the stereochemistry was successfully set,
and false otherwise: i.e. the descriptor was invalid or the specified bond
was not a CIP bond stereo center.
See also
OEPerceiveCIPStereo
to perceive CIP bond stereo descriptor.CIP Stereo Perception section