Guest User

Untitled

a guest
Apr 20th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. procedure Test;
  2. Var
  3. TBAEx, TBA: TBoxArray;
  4. TPA :TPointArray;
  5. L, LL, Del, i :Integer;
  6. TP :TPoint;
  7. begin
  8. TPA:= GetDot;
  9. TBA := AreaToBoxArray(MSX1, MSY1, MSX2, MSY2, 50, 50);
  10. L := Length(TBA) - 1;
  11.  
  12. for I:= 0 to L do
  13.  
  14. If PointInBox(MMToMSH(TPA[i]), TBA[i]) then begin
  15. Writeln(Inttostr(i));
  16. DeleteTBA(TBA, i);
  17. end;
  18. DebugTBA(TBA);
  19. end;
Add Comment
Please, Sign In to add comment