Warning: session_start(): open(/var/lib/php/sessions/sess_dumeg4lqr8i4p8dufgi1f8iss5, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
ptDistance - synonym of pointDistance - distance between two points (Pt) [1015064]

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

13
LINES

< > BotCompany Repo | #1015064 // ptDistance - synonym of pointDistance - distance between two points (Pt)

JavaX fragment (include)

static double ptDistance(Pt a, Pt b) {
  ret pointDistance(a, b);
}

ifclass DoublePt
static double ptDistance(DoublePt a, DoublePt b) {
  ret pointDistance(a, b);
}

static double ptDistance(DoublePt a, Pt b) {
  ret pointDistance(a.x, a.y, b.x, b.y);
}
endif

Author comment

Began life as a copy of #1005804

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: #1015064
Snippet name: ptDistance - synonym of pointDistance - distance between two points (Pt)
Eternal ID of this version: #1015064/4
Text MD5: 8aa7ebd744aebdee209fd517f034ab37
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-15 03:42:35
Source code size: 272 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 890 / 929
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)