Skip to content

Documentation / @ripl/core / getEuclideanDistance

Function: getEuclideanDistance() ​

getEuclideanDistance(dp, dq): number

Defined in: packages/core/src/math/geometry.ts:52

Computes the Euclidean distance from two points.

Parameters ​

ParameterType
dpnumber
dqnumber

Returns ​

number