mbuild_polybuild.cg_monomers.bead.Bead.rotate¶
- Bead.rotate(theta, around)¶
Rotate Compound around an arbitrary vector.
- Parameters:
theta (float) – The angle by which to rotate the Compound, in radians.
around (np.ndarray, shape=(3,), dtype=float) – The vector about which to rotate the Compound.