GetCofGPDBRange.c



void GetCofGPDBRange(PDB *start, PDB *stop, VEC3F *cg)

Inputs

PDB *start Start of region of interest in PDB list
PDB *stop Beginning of next residue

Outputs

VEC3F *cg Centre of geometry of specified region

Description

Find CofG of a range in a PDB linked list, ignoring NULL coordinates (specified as all coords==9999.000)

Created: 03.10.94 Last Modified: 03.10.94