||function MarkItemsInWindow (xLo, YLo, XHi, YHi: 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 xLo...YHi. If an item meets the requirements, its class number is set to the value ClassNumber. The boundaries of the restricting window (xLo, yLo, xHi, yHi ) are specified as real-world coordinates. The function returns the number of items which have been marked by a new class number.
||The parameter ClassNumber must not be set to 255 (in this case the function MarkItemsInWindow has no effect at