OEInit2DRingDictionary¶
bool OEInit2DRingDictionary(oemolistream &ims)
bool OEInit2DRingDictionary(const std::string &filename)
Initializes the global ring dictionary with the ring layouts stored
in the given file.
After initialization, the user-defined ring layouts will have priority over
the built-in ring templates of OEChem TK when calling the
OEGenerate2DCoordinates function to generate 2D coordinates.
See also
OE2DRingDictionary class
OEIsValid2DRingDictionaryfunctionOEClear2DRingDictionaryfunction
2D ring dictionary files can be generated with the following programs:
Example program CreateRingDict.cs
Example program AppendRingDict.cs
The program below shows how to generate 2D coordinates with user-defined ring layouts:
Example program Generate2D.cs