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....



FindChainNextToCursor


Unit:SDL_chemgrph
Class:TChemGraph
Declaration:function FindChainNextToCursor (x,y: single; var ChainAtoms: AtListType): integer;

The method FindChainNextToCursor searches for a chain which holds the atom next to the cursor point [x,y ]. Function returns the size of the found chain and the list of associated chain atoms. The atom numbers in list ChainAtoms is ordered from left atoms to right atoms.



Last Update: 2023-Dec-14