OEGetCachedSelfColorΒΆ

float OEGetCachedSelfColor(const OEChem::OEConfBase &mol,
                           bool allcolor=false)
float OEGetCachedSelfColor(const OEChem::OEMolBase &mol,
                           bool allcolor=false)

Return the value of cached self color on the molecule or conformer. This function doesn’t work for OEMCMolBase directly, so call it on each individual conformer. Returns 0.0 if there is no cached value. Use OEHasCachedSelfColor to determine if a real value is attached.