The outage for Sunday 24th November has been cancelled.
Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
RotPDB.c File Reference

Rotate a PDB linked list. More...

#include <stdlib.h>
#include "MathType.h"
#include "pdb.h"
#include "macros.h"

Go to the source code of this file.

Functions

void blRotatePDB (PDB *pdb, REAL matrix[3][3])
 

Detailed Description

Rotate a PDB linked list.

Version
V1.1
Date
August 1993
Author
Dr. Andrew C. R. Martin
Institute of Structural & Molecular Biology, University College London, Gower Street, London. WC1E 6BT.
andre.nosp@m.w@bi.nosp@m.oinf..nosp@m.org..nosp@m.uk andre.nosp@m.w.ma.nosp@m.rtin@.nosp@m.ucl..nosp@m.ac.uk

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.

Description:

Rotate a PDB linked list. Moves the structure to the origin first, applies the rotation and moves back from the origin.

Usage:

Revision History:

Definition in file RotPDB.c.

Function Documentation

void blRotatePDB ( PDB pdb,
REAL  matrix[3][3] 
)
Parameters
[in,out]*pdbPDB linked list to rotate
[in]matrixRotation 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.

  • 30.09.92 Original
  • 01.10.92 Added check on NULL coordinates
  • 22.07.93 Moves to origin first; calls ApplyMatrixPDB() to do the work
  • 07.07.14 Renamed to blRotatePDB(). Use bl prefix for functions. By: CTP

Definition at line 101 of file RotPDB.c.