Libraryless. Click here for Pure Java version (10638L/60K).
1 | static L<PtBuffer> g22_allBorderTraces(IImageRegion region) { |
2 | RegionBorder_innerPoints_v2 walker = new(region); |
3 | new L<PtBuffer> out; |
4 | walker.onNewTrace(hole -> out.add(new PtBuffer)); |
5 | walker.onFoundPoint(p -> last(out).add(p)); |
6 | walker.run(); |
7 | ret out; |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034971 |
Snippet name: | g22_allBorderTraces (outline and holes) |
Eternal ID of this version: | #1034971/2 |
Text MD5: | 48b8d5121a5da5e91ed2072c6a301f79 |
Transpilation MD5: | 9b715154525df60d6376aab04c5ce566 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-04-28 16:43:18 |
Source code size: | 270 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 186 / 220 |
Version history: | 1 change(s) |
Referenced in: | [show references] |