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

5
LINES

< > BotCompany Repo | #1010151 // pixelSetBounds - bounding box of PixelSet [OpenIMAJ]

JavaX fragment (include)

static Rect pixelSetBounds(PixelSet set) {
  Rect r = openImajRectangleToRect(set.calculateRegularBoundingBox());
  r.w++; r.h++;
  ret r;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010151
Snippet name: pixelSetBounds - bounding box of PixelSet [OpenIMAJ]
Eternal ID of this version: #1010151/3
Text MD5: deadfb19fa9b9f46cb645c42efbdc13b
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-17 18:37:32
Source code size: 144 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 559
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)