GetCGPDB.c



void GetCofGPDB(PDB *pdb,VEC3F *cg)

Inputs

PDB *pdb Start of PDB linked list

Outputs

VEC3F *cg Centre of geometry of specified region

Description

Finds the CofG of a PDB linked list, ignoring NULL coordinates.

Created: 01.10.92 Last Modified: 03.10.94