FindDTM

function FindDTM( DTM: Integer; out x, y: Integer; x1, y1, x2, y2: Integer): Boolean;

FindDTM is the most basic DTM finding function. It takes a box to search in, defined by x1, y1, x2, y2; and if the DTM is found, it will set x and y to the coordinate the DTM was found at and it will also return true. Else, it returns false. Once a DTM is found, it will stop searching. In other words; it always returns the first found DTM.



Merlijn Wajer 2010-08-27