3.1.12 GetHyb

virtual unsigned int GetHyb() const

Return the ``hybridization'' of an atom. The set of unsigned integer values for this property are defined in the namespace OEHybridization. The default value is zero, OEHybridization::Unknown. The ``hybridization'' property may be set with the OEAtomBase::SetHyb method. Hybridizations may also be set on a molecule using the function OEAssignHybridization. The hybridization property of an atom is a stored, not a computed, property. To calculate a reasonable hybridization of an atom from connectivity, use the function OEGetHybridization.