|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 MakeConnection|
|See also: EnterConn, CheckConnect, MakeSymmetricConnections, ContainsUnconnectedAtom|
The method MakeConnection is a universal routine for changing, adding or deleting bonds. The parameters At1 and At2 specify the atoms which should be connected or disconnected. The parameter CType determines the type of the bond to be established:
If MakeConnection cannot be executed properly, it returns a value of FALSE in order to indicate that something went wrong. This is the case when either no room is available for further bonds or the atom numbers are invalid.