static Pt translatePt(Pt a, Pt b) { ret addPts(a, b); } static Pt translatePt(int x, int y, Pt a) { ret addPts(a, pt(x, y)); } static Pt translatePt(Pt a, int x, int y) { ret translatePt(x, y, a); }
Began life as a copy of #1006794
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1009860 |
| Snippet name: | translatePt - synonym of addPts - add two points |
| Eternal ID of this version: | #1009860/3 |
| Text MD5: | 0fdcaaf6a711098be6122250a9e5d24f |
| Author: | stefan |
| Category: | javax / maths |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-17 00:43:13 |
| Source code size: | 216 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 821 / 853 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1009861 - untranslatePt #1010390 - translateDoublePt |