static Rect rectFromPoints(int x1, int y1, int x2, int y2) { ret pointsRect(x1, y1, x2, y2); } static Rect rectFromPoints(Pt a, Pt b) { ret pointsRect(a.x, a.y, b.x, b.y); }
Began life as a copy of #1005898
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: | #1010660 |
Snippet name: | rectFromPoints - synonym of pointsRect - create Rect from x1, y1, x2, y2 |
Eternal ID of this version: | #1010660/3 |
Text MD5: | c7512f2354da81ece79e6722f190ab3d |
Author: | stefan |
Category: | javax / maths |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-24 03:11:36 |
Source code size: | 184 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 457 / 519 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1032167 - areaFromPoints #1034398 - rectFromPointsInclusive |