Home
last modified time | relevance | path

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

/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/tnztools/
H A Dcontrolpointselection.cpp924 double cpDistance2 = tdistance2(pos, point); in getPointTypeAt() local
927 : cpDistance2 + 1; in getPointTypeAt()
930 : cpDistance2 + 1; in getPointTypeAt()
932 distanceIn2 = std::max(cpDistance2, distanceOut2) + 1; in getPointTypeAt()
934 distanceOut2 = std::max(cpDistance2, distanceIn2) + 1; in getPointTypeAt()
936 if (cpDistance2 < distanceIn2 && cpDistance2 < distanceOut2 && in getPointTypeAt()
937 (cpDistance2 < minDistance2 || index < 0)) { in getPointTypeAt()
938 minDistance2 = cpDistance2; in getPointTypeAt()
941 } else if (distanceIn2 < cpDistance2 && distanceIn2 < distanceOut2 && in getPointTypeAt()
946 } else if (distanceOut2 < cpDistance2 && distanceOut2 < distanceIn2 && in getPointTypeAt()