Libraryless. Click here for Pure Java version (117L/1K).
static double[] iDoublePtsToDoubleArray(L<IDoublePt> l) { int n = l(l); double[] array = new[n*2]; for i, p over l: { array[i*2] = p.x_double(); array[i*2+1] = p.y_double(); } ret array; }
Began life as a copy of #1034864
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034883 |
Snippet name: | iDoublePtsToDoubleArray |
Eternal ID of this version: | #1034883/1 |
Text MD5: | 5bcb16c7c58efe1bbb2962d773faac9b |
Transpilation MD5: | c236883521af08d8397c2c59c7351a15 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-13 01:05:23 |
Source code size: | 214 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 138 / 197 |
Referenced in: | [show references] |