MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / PointDist

Function PointDist

jni/stasm/misc.h:240–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240static inline double PointDist(
241 double x1, // in
242 double y1, // in
243 double x2, // in
244 double y2) // in
245{
246 CV_Assert(PointUsed(x1, y1));
247 CV_Assert(PointUsed(x2, y2));
248
249 return sqrt(SQ(x1 - x2) + SQ(y1 - y2));
250}
251
252static inline double PointDist(
253 const Shape& shape1, // in: the first shape

Callers 7

MouthVerticalShiftFunction · 0.85
CanonicalEyeMouthDistFunction · 0.85
EyeMouthDistFunction · 0.85
InterEyeDistFunction · 0.85
ForcePinnedPointsFunction · 0.85
TweakHelenFunction · 0.85

Calls 2

PointUsedFunction · 0.85
SQFunction · 0.85

Tested by

no test coverage detected