InPDBZone.c



BOOL InPDBZone(PDB *p, char chain, int resnum1, char insert1, int resnum2, char insert2)

Inputs

PDB *p Pointer to a PDB record
char chain Chain name
int resnum1 First residue
char insert1 First insert code
int resnum2 Second residue
char insert2 Second insert code

Returns

BOOL Is p in the range specified?

Description

Checks that atom stored in PDB pointer p is within the specified residue range.

N.B. This assumes ASCII coding.

Created: 29.03.95 Last Modified: 18.06.96