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 CData Functions and Procedures PerSysCoord | |||||||||
PerSysCoord |
|||||||||
In oder to display the periodic system of elements one need to know where to place the atom symbols. The procedure PerSysCoord returns the coordinates of the atom specified by the parameter AtNr (atomic number) in the variable parameters x and y. The coordinate system is shown in the figure below. Hydrogen has coordinates [0,0]. Note that the coordinates have to be properly scaled when displaying the atom symbols (see also the sample project PERIOSYS.DPR which comes with CDATA).
|