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

9
LINES

< > BotCompany Repo | #1029763 // ptSquaredDistance - synonym of ptDistanceSquared

JavaX fragment (include)

static double ptSquaredDistance(Pt a, Pt b) {
  ret ptDistanceSquared(a, b);
}



static double ptSquaredDistance(double x1, double y1, double x2, double y2) {
  ret ptDistanceSquared(x1, y1, x2, y2);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1029763
Snippet name: ptSquaredDistance - synonym of ptDistanceSquared
Eternal ID of this version: #1029763/1
Text MD5: 6b7aa36b13c18b87d2544f6432997941
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-12 02:12:59
Source code size: 204 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 181 / 211
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)