Libraryless. Click here for Pure Java version (117L/1K).
1 | static double[] iDoublePtsToDoubleArray(L<IDoublePt> l) { |
2 | int n = l(l); |
3 | double[] array = new[n*2]; |
4 | for i, p over l: { |
5 | array[i*2] = p.x_double(); |
6 | array[i*2+1] = p.y_double(); |
7 | } |
8 | ret array; |
9 | } |
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: | 140 / 200 |
Referenced in: | [show references] |