OETransformDesignUnitΒΆ
Attention
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.
Warning
Applying a transform to a design unit invalidates a OEReceptor object stored on the design unit and it will be removed as part of the transformation.
See also
- OETrans class
- OEReceptor class
- OEDesignUnit::GetTransform method