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

3
LINES

< > BotCompany Repo | #1031925 // doubleRectFromRanges

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

Libraryless. Click here for Pure Java version (3248L/18K).

1  
static DoubleRect doubleRectFromRanges(DoubleRange x, DoubleRange y) {
2  
  ret DoubleRect(x.start, y.start, x.length(), y.length());
3  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031925
Snippet name: doubleRectFromRanges
Eternal ID of this version: #1031925/2
Text MD5: 6041db7418542347d5e6c5a243eacde4
Transpilation MD5: 1abb0b5f6dec57fc9ea391e1aadf2433
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-02 04:18:47
Source code size: 134 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 178 / 255
Version history: 1 change(s)
Referenced in: [show references]