OESuppressNonDepictionHydrogensΒΆ

bool OESuppressNonDepictionHydrogens(OEChem::OEMolBase& mol)

The OESuppressNonDepictionHydrogens function suppresses all non-essential hydrogens of the molecule. Only the following hydrogens will be kept:

  • hydrogens with (non-zero) isotopic mass
  • hydrogens that are necessary to faithfully represent tetrahedral atom stereochemistry or cis/trans bond stereochemistry (defined by the OEHasDepictionHydrogens function).
Before After
../../_images/OESuppressNonDepictionHydrogens-before.png ../../_images/OESuppressNonDepictionHydrogens-after.png

See also