Home
last modified time | relevance | path

Searched refs:dNewDist (Results 1 – 1 of 1) sorted by relevance

/dports/cad/librecad/LibreCAD-2.2.0-rc2/librecad/src/lib/engine/
H A Dlc_splinepoints.cpp353 bool SetNewDist(bool bResSet, double dNewDist, double dNewT, in SetNewDist() argument
359 if(dNewDist < *pdDist) in SetNewDist()
361 *pdDist = dNewDist; in SetNewDist()
368 *pdDist = dNewDist; in SetNewDist()
412 double dDist = 0., dNewDist; in GetDistToQuadSquared() local
417 SetNewDist(bResSet, dNewDist, dSolValue, &dDist, &dRes); in GetDistToQuadSquared()
421 dNewDist = (coord - x1).squared(); in GetDistToQuadSquared()
422 SetNewDist(bResSet, dNewDist, 0.0, &dDist, &dRes); in GetDistToQuadSquared()
424 dNewDist = (coord - x2).squared(); in GetDistToQuadSquared()
425 SetNewDist(bResSet, dNewDist, 1.0, &dDist, &dRes); in GetDistToQuadSquared()
[all …]