OEDepictCoordinates

bool OEDepictCoordinates(OEChem::OEMolBase &mol)

Assigns 2D coordinates to the given OEMolBase object by invoking the OEGenerate2DCoordinates function. The coordinates of each explicit atom are assigned using the OEMolBase::SetCoords method. This function automatically sets the dimensionality of the molecule to two, using the OEMolBase::SetDimension method.

Warning

OEDepictCoordinates is considered deprecated and will be removed in OEDepict 3.0. Please switch to using OEGenerate2DCoordinates.