MCPcopy Index your code
hub / github.com/processing/processing / dist

Method dist

core/src/processing/core/PApplet.java:4979–4981  ·  view source on GitHub ↗
(float x1, float y1, float x2, float y2)

Source from the content-addressed store, hash-verified

4977
4978
4979 static public final float dist(float x1, float y1, float x2, float y2) {
4980 return sqrt(sq(x2-x1) + sq(y2-y1));
4981 }
4982
4983/**
4984 * ( begin auto-generated from dist.xml )

Callers 6

lightNormalMethod · 0.95
addEllipseMethod · 0.95
addArcMethod · 0.95
copyGeometryMethod · 0.95
getRasterMethod · 0.95
getRasterMethod · 0.95

Calls 2

sqrtMethod · 0.95
sqMethod · 0.95

Tested by

no test coverage detected