Home
last modified time | relevance | path

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

/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/
Db2TimeOfImpact.cpp68 b2Vec2 pointB = b2Mul(xfB, localPointB); in Initialize() local
69 m_axis = pointB - pointA; in Initialize()
85 b2Vec2 pointB = b2Mul(xfB, m_localPoint); in Initialize() local
90 float32 s = b2Dot(pointA - pointB, normal); in Initialize()
113 b2Vec2 pointB = b2Mul(xfB, localPointB); in Initialize() local
115 float32 s = b2Dot(pointB - pointA, normal); in Initialize()
146 b2Vec2 pointB = b2Mul(xfB, localPointB); in FindMinSeparation() local
148 float32 separation = b2Dot(pointB - pointA, m_axis); in FindMinSeparation()
163 b2Vec2 pointB = b2Mul(xfB, localPointB); in FindMinSeparation() local
165 float32 separation = b2Dot(pointB - pointA, normal); in FindMinSeparation()
[all …]
Db2Distance.cpp570 simplex.GetWitnessPoints(&output->pointA, &output->pointB); in b2Distance()
571 output->distance = b2Distance(output->pointA, output->pointB); in b2Distance()
588 b2Vec2 normal = output->pointB - output->pointA; in b2Distance()
591 output->pointB -= rB * normal; in b2Distance()
597 b2Vec2 p = 0.5f * (output->pointA + output->pointB); in b2Distance()
599 output->pointB = p; in b2Distance()
Db2Collision.cpp37 b2Vec2 pointB = b2Mul(xfB, manifold->points[0].localPoint); in Initialize() local
38 if (b2DistanceSquared(pointA, pointB) > b2_epsilon * b2_epsilon) in Initialize()
40 normal = pointB - pointA; in Initialize()
45 b2Vec2 cB = pointB - radiusB * normal; in Initialize()
Db2Distance.h81 b2Vec2 pointB; ///< closest point on shapeB member
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/
DTimeOfImpact.java322 private final Vec2 pointB = new Vec2(); field in SeparationFunction
361 Transform.mulToOutUnsafe(xfb, localPointB, pointB); in initialize()
362 m_axis.set(pointB).subLocal(pointA); in initialize()
379 Transform.mulToOutUnsafe(xfb, m_localPoint, pointB); in initialize()
384 temp.set(pointA).subLocal(pointB); in initialize()
408 Transform.mulToOutUnsafe(xfb, localPointB, pointB); in initialize()
410 temp.set(pointB).subLocal(pointA); in initialize()
442 Transform.mulToOutUnsafe(xfb, localPointB, pointB); in findMinSeparation()
444 float separation = Vec2.dot(pointB.subLocal(pointA), m_axis); in findMinSeparation()
458 Transform.mulToOutUnsafe(xfb, localPointB, pointB); in findMinSeparation()
[all …]
DWorldManifold.java74 final Vec2 pointB = pool4; in initialize() local
84 pointB.x = (xfB.q.c * mp0p.x - xfB.q.s * mp0p.y) + xfB.p.x; in initialize()
85 pointB.y = (xfB.q.s * mp0p.x + xfB.q.c * mp0p.y) + xfB.p.y; in initialize()
87 if (MathUtils.distanceSquared(pointA, pointB) > Settings.EPSILON * Settings.EPSILON) { in initialize()
88 normal.x = pointB.x - pointA.x; in initialize()
89 normal.y = pointB.y - pointA.y; in initialize()
96 final float cBx = -normal.x * radiusB + pointB.x; in initialize()
97 final float cBy = -normal.y * radiusB + pointB.y; in initialize()
DDistance.java741 simplex.getWitnessPoints(output.pointA, output.pointB); in distance()
742 output.distance = MathUtils.distance(output.pointA, output.pointB); in distance()
757 normal.set(output.pointB).subLocal(output.pointA); in distance()
762 output.pointB.subLocal(temp); in distance()
767 output.pointA.addLocal(output.pointB).mulLocal(.5f); in distance()
768 output.pointB.set(output.pointA); in distance()
DDistanceOutput.java37 public final Vec2 pointB = new Vec2(); field in DistanceOutput
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DGaussianParametersGuesser.java161 WeightedObservedPoint pointB = twoPoints[1]; in interpolateXAtY() local
165 if (pointB.getY() == y) { in interpolateXAtY()
166 return pointB.getX(); in interpolateXAtY()
169 … (((y - pointA.getY()) * (pointB.getX() - pointA.getX())) / (pointB.getY() - pointA.getY())); in interpolateXAtY()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/
DbtManifoldPoint.h59 btManifoldPoint( const btVector3 &pointA, const btVector3 &pointB, in btManifoldPoint() argument
63 m_localPointB( pointB ), in btManifoldPoint()
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_DataMatrixDetector.cpp55 CBC_ResultPoint* pointB = (CBC_ResultPoint*)(*cornerPoints)[1]; in Detect() local
61 transitions.Add(TransitionsBetween(pointA, pointB)); in Detect()
63 transitions.Add(TransitionsBetween(pointB, pointD)); in Detect()
100 delete pointB; in Detect()
119 } else if (!pointCount.Lookup(pointB, value)) { in Detect()
120 topRight = pointB; in Detect()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DbtManifoldPoint.java82 public btManifoldPoint(Vector3 pointA, Vector3 pointB, Vector3 normal, float distance) { in btManifoldPoint() argument
83 this(CollisionJNI.new_btManifoldPoint__SWIG_1(pointA, pointB, normal, distance), true); in btManifoldPoint()
/external/opencv/cvaux/src/
Dcvepilines.cpp403 double pointB[3]; in icvComCoeffForLine() local
411 (CvPoint3D64d*)pointB); in icvComCoeffForLine()
413 if( pointB[2] < 0 )/* If negative use other lines for cross */ in icvComCoeffForLine()
418 (CvPoint3D64d*)pointB); in icvComCoeffForLine()
431 *((CvPoint3D64d*)pointB), in icvComCoeffForLine()
436 *((CvPoint3D64d*)pointB), in icvComCoeffForLine()
444 *((CvPoint3D64d*)pointB), in icvComCoeffForLine()
449 *((CvPoint3D64d*)pointB), in icvComCoeffForLine()
470 xB = pointB[0]; in icvComCoeffForLine()
471 yB = pointB[1]; in icvComCoeffForLine()
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Contacts/
Db2ContactSolver.cpp630 b2Vec2 pointB = b2Mul(xfB, pc->localPoints[0]); in Initialize() local
631 normal = pointB - pointA; in Initialize()
633 point = 0.5f * (pointA + pointB); in Initialize()
634 separation = b2Dot(pointB - pointA, normal) - pc->radiusA - pc->radiusB; in Initialize()
/external/opencv/cvaux/include/
Dcvaux.h623 CvPoint3D64f pointB,