The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class: TCTab
Declaration: procedure FindClosestAtom (x,y,z: double; var ClosestAtom: integer; var Dist: double);

The method FindClosestAtom searches through all atoms of a structure and returns the index of the atom which is closest to the coordinates x,y,z. The variable parameters ClosestAtom and Dist contain the index of the closest atom and the distance to this atom.

Last Update: 2012-Okt-20