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



FindMinMax


Unit:SDL_polchart
Class: TPolChart
Declaration: procedure FindMinMax (RadLow, PhiLow, RadHigh, PhiHigh: double; var MinRad, MinPhi, MaxRad, MaxPhi: double);

The method FindMinMax finds the minimum and the maximum coordinates of all graphic elements in the range defined by the parameters RadLow... PhiHigh. The minimum and maximum radius and angle values are returned in the variable parameters MinRad, MinPhi, MaxRad, and MaxPhi .

Hint: FindMinMax does not take into account any elements which are specified by pixel coordinates (rather than by real coordinates), such as MoveToRelPix or DrawToRelPix.



Last Update: 2023-Dec-13