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.... |
Home ChemPack CStruct Class TCTab Methods FindAtomInBox | |||||||
See also: FindClosestAtom | |||||||
FindAtomInBox |
|||||||
The method FindAtomInBox searches for atoms within a 3-dimensional box. The box is set up by the center x y and the dimension of the box ( xRange, yRange, zRange ). The function returns the index of the atom which is within the box. If there is more than one atom in the box, the atom with the highest index is returned. If the box contains no atom at all, a value of -1 is returned.
|