Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1034978 // g22_allBorderTraces_withDiagonals

JavaX fragment (include)

static L<PtBuffer> g22_allBorderTraces_withDiagonals(IImageRegion region) {
  RegionBorder_innerPoints_withDiagonals 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;
}

Author comment

Began life as a copy of #1034971

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034978
Snippet name: g22_allBorderTraces_withDiagonals
Eternal ID of this version: #1034978/1
Text MD5: 55d10ec375ee64b0ccabd34598562650
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-19 19:43:30
Source code size: 295 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 129 / 146
Referenced in: [show references]