Bioplib
Protein Structure C Library
|
Rotate a PDB linked list. More...
Go to the source code of this file.
Functions | |
void | blRotatePDB (PDB *pdb, REAL matrix[3][3]) |
Rotate a PDB linked list.
This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.
The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.
The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.
Rotate a PDB linked list. Moves the structure to the origin first, applies the rotation and moves back from the origin.
Definition in file RotPDB.c.
[in,out] | *pdb | PDB linked list to rotate |
[in] | matrix | Rotation matrix |
Rotates a PDB linked list using ApplyMatrixPDB() which ignores coordinates of 9999.0. The structure is moved to the origin, the matrix is applied and the structure is moved back.