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

6
LINES

< > BotCompany Repo | #1032470 // totalAreaOfDoubleRects

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4101L/23K).

static double totalAreaOfDoubleRects(Iterable<DoubleRect> l) {
  double sum = 0;
  if (l != null) for (DoubleRect r : l)
    sum += area(r);
  ret sum;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032470
Snippet name: totalAreaOfDoubleRects
Eternal ID of this version: #1032470/1
Text MD5: 72135ce90a1af2ba15409052d6d07c5c
Transpilation MD5: 4208c7b8dd9b83b52f96b597da0df472
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-08 06:31:46
Source code size: 158 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 79 / 129
Referenced in: [show references]