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



MarkItemsInWindow


Unit: SDL_rchart
Class: TSmithChart
Declaration: function MarkItemsInWindow (ReflRealLow, ReflImagLow, ReflRealHigh, ReflImagHigh: double; ItemID: TrcItem; ClassNumber: byte): longint;

The method MarkItemsInWindow searches for all entries in the data container which fulfill the following requirements: the item must be of the type ItemID, and the item has to be located within a window which is defined by the parameters ReflRealLow ... ReflImagHigh. If an item meets the requirements, its class number is set to the value ClassNumber. The boundaries of the restricting window (ReflRealLow, ReflImagLow, ReflRealHigh, ReflImagHigh) are specified as reflection coefficients with real and imaginary parts. The function returns the number of items which have been marked by a new class number.

Hint: The parameter ClassNumber must not be set to 255 (in this case the function MarkItemsInWindow has no effect at all).


Last Update: 2012-Oct-20