Transpiled version (5348L) is out of date.
static double[] doublePtsToDoubleArray(L<DoublePt> l) { int n = l(l); double[] array = new[n*2]; for i, p over l: { array[i*2] = p.x; array[i*2+1] = p.y; } ret array; }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034864 |
Snippet name: | doublePtsToDoubleArray |
Eternal ID of this version: | #1034864/4 |
Text MD5: | cc2dbe289543cf37d977e650b35ddbff |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-12 20:47:08 |
Source code size: | 194 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 151 / 220 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1034883 - iDoublePtsToDoubleArray |