Libraryless. Click here for Pure Java version (10638L/60K).
static L<PtBuffer> g22_allBorderTraces(IImageRegion region) { RegionBorder_innerPoints_v2 walker = new(region); new L<PtBuffer> out; walker.onNewTrace(hole -> out.add(new PtBuffer)); walker.onFoundPoint(p -> last(out).add(p)); walker.run(); ret out; }
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: | 185 / 218 |
Version history: | 1 change(s) |
Referenced in: | [show references] |