OETranslate¶
void OETranslate(OEMolBase &mol, const float *v)
void OETranslate(OEMolBase &mol, const double *v)
void OETranslate(OEConfBase &conf, const float *v)
void OETranslate(OEConfBase &conf, const double *v)
void OETranslate(OEMCMolBase &mcmol, const float *v)
void OETranslate(OEMCMolBase &mcmol, const double *v)
Translates the molecule by the vector passed as the argument ‘v’. The
vector ‘v’ must be of size three and contain the Cartesian
translation vectors. The overloads for OEConfBase
and OEMCMolBase
are for efficiency.
- mol
The molecule to translate.
- conf
The conformer to translate.
- mcmol
The multi-conformer molecule to translate.
- v
The translation vector.
See also
Example program MCS3DAlign.cs