while setting length
Out intersectionP : Tpoint
would work
In addition to what @Martin_fr mentioned, in "intersectionP : Tpoint", that's not an array therefore there is no "high" nor "low" there. You say SetLength would work but, I have doubts about that, it makes no sense to SetLength something that is not an array. (didn't even test that because it doesn't make sense.)