4.2 OEDepictCoordinates

bool OEDepictCoordinates(OEMolBase &mol)

This function assigns 2D co-ordinates to the given OEMolBase. The co-ordinates of each explicit atom are assigned using OEChem's OEAtomBase::SetCoords method. This function automatically set the dimensionality of the molecule to two, using the OEMolBase::SetDimension.

This function returns true if 2D co-ordinates were successfully assigned to each atom. In the current implementation, this function always returns true.