Searched defs:lengthSquared (Results 1 - 6 of 6) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
H A DFloatPoint.h107 float lengthSquared() const function in class:WebCore::FloatPoint
H A DFloatPoint3D.h121 float lengthSquared() const { return this->dot(*this); } function in class:WebCore::FloatPoint3D
122 float length() const { return sqrtf(lengthSquared()); }
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DVector2f.java289 return FastMath.sqrt(lengthSquared());
293 * <code>lengthSquared</code> calculates the squared value of the
298 public float lengthSquared() { method in class:Vector2f
H A DVector3f.java388 float d = other.lengthSquared(); // |B|^2
410 return FastMath.sqrt(lengthSquared());
414 * <code>lengthSquared</code> calculates the squared value of the
419 public float lengthSquared() { method in class:Vector3f
H A DVector4f.java320 float d = other.lengthSquared(); // |B|^2
342 return FastMath.sqrt(lengthSquared());
346 * <code>lengthSquared</code> calculates the squared value of the
351 public float lengthSquared() { method in class:Vector4f
/external/skia/src/core/
H A DSkPoint.cpp98 // *lengthSquared. Returns true if the distance is judged to be "nearly zero".
104 float *lengthSquared) {
105 *lengthSquared = getLengthSquared(dx, dy);
106 return *lengthSquared <= (SK_ScalarNearlyZero * SK_ScalarNearlyZero);
150 // *lengthSquared. Returns true if the distance is judged to be "nearly zero".
156 Sk64 *lengthSquared) {
158 getLengthSquared(dx, dy, lengthSquared);
167 return *lengthSquared <= tolSqr;
103 isLengthNearlyZero(float dx, float dy, float *lengthSquared) argument
155 isLengthNearlyZero(SkScalar dx, SkScalar dy, Sk64 *lengthSquared) argument

Completed in 184 milliseconds