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 CalcMolExtents | |||||||||
See also: CalcMolCenter | |||||||||
CalcMolExtents |
|||||||||
The method CalcMolExtents calculates the dimensions of the drawing of a structure as it is stored in the connection table. The coordinates returned set up a rectangle which encloses the structure. If no structure at all or no graphics information is contained in the connection table, a rectangle is returned which covers the whole virtual screen (MinX=0, MaxX=10000, MinY=0, MaxY=7000). In addition,CalcMolExtents also calculates the average bond length of the molecule and the center of the molecule. The average bond length is returned as the function value.
|