MCPcopy Create free account
hub / github.com/creatale/node-dv / DistanceBetween

Function DistanceBetween

deps/tesseract/classify/fpoint.cpp:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28----------------------------------------------------------------------------*/
29
30FLOAT32 DistanceBetween(FPOINT A, FPOINT B) {
31 double xd = XDelta(A, B);
32 double yd = YDelta(A, B);
33 return sqrt(static_cast<double>(xd * xd + yd * yd));
34}
35
36/**
37 * Return the angle from Point1 to Point2 normalized to

Callers 3

ExtractMicroFeatureFunction · 0.85
AddOutlineFeatureToSetFunction · 0.85
ConvertSegmentToPicoFeatFunction · 0.85

Calls 1

sqrtFunction · 0.85

Tested by

no test coverage detected