This API is currently available in C++ and Python.
bool OETransformDesignUnit(OEDesignUnit& du, const double *rmat, const double *trns) bool OETransformDesignUnit(OEDesignUnit& du, const OEChem::OETrans& trans)
Transforms the OEDesignUnit with the provided transforms. The OEDesignUnit object stores the transforms applied to it, which can be helpul if the original coordiante frame is required later in a workflow.
Applying a transform to a design unit invalidates the
OEReceptorobject stored on the design unit and it will be removed as part of the transformation.