static Rect smallestRectContaining(L<Rect> l, final Pt p) { if (p == null) null; new Lowest<Rect> b; for (Rect r : l) if (r.contains(p)) b.put(r, rectPixels(r)); ret b.get(); }
Began life as a copy of #1006884
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006888 |
Snippet name: | smallestRectContaining |
Eternal ID of this version: | #1006888/4 |
Text MD5: | af414cfef0017355cc97178606c1be72 |
Author: | stefan |
Category: | javax / maths |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-11 15:55:00 |
Source code size: | 201 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 534 / 588 |
Version history: | 3 change(s) |
Referenced in: | [show references] |