Searched refs:lengthSquared (Results 1 – 6 of 6) sorted by relevance
85 Q_DECL_CONSTEXPR inline double lengthSquared() const;151 Q_DECL_CONSTEXPR inline double QDoubleVector2D::lengthSquared() const in lengthSquared() function
86 Q_DECL_CONSTEXPR inline double lengthSquared() const;154 Q_DECL_CONSTEXPR inline double QDoubleVector3D::lengthSquared() const in lengthSquared() function
506 …((p.x() - a.x()) * (b.x() - a.x()) + (p.y() - a.y()) * (b.y() - a.y()) ) / (b - a).lengthSquared(); in lineContains()
86 QCOMPARE(v1.lengthSquared(), 25.0); in basicFunctions2dTest()205 QCOMPARE(v1.lengthSquared(), 49.0); in basicFunctions3dTest()
57 …((p.x() - a.x()) * (b.x() - a.x()) + (p.y() - a.y()) * (b.y() - a.y()) ) / (b - a).lengthSquared(); in closestPoint()
321 …((p.x() - a.x()) * (b.x() - a.x()) + (p.y() - a.y()) * (b.y() - a.y()) ) / (b - a).lengthSquared(); in distanceTo()