Home
last modified time | relevance | path

Searched refs:pointCount (Results 1 – 25 of 36) sorted by relevance

12

/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/
DManifold.java69 public int pointCount; field in Manifold
81 pointCount = 0; in Manifold()
93 pointCount = other.pointCount; in Manifold()
107 for (int i = 0; i < cp.pointCount; i++) { in set()
114 pointCount = cp.pointCount; in set()
DCollision.java108 for (int i = 0; i < manifold1.pointCount; i++) { in getPointStates()
113 for (int j = 0; j < manifold2.pointCount; j++) { in getPointStates()
122 for (int i = 0; i < manifold2.pointCount; i++) { in getPointStates()
127 for (int j = 0; j < manifold1.pointCount; j++) { in getPointStates()
204 manifold.pointCount = 0; in collideCircles()
231 manifold.pointCount = 1; in collideCircles()
250 manifold.pointCount = 0; in collidePolygonAndCircle()
310 manifold.pointCount = 1; in collidePolygonAndCircle()
362 manifold.pointCount = 1; in collidePolygonAndCircle()
382 manifold.pointCount = 1; in collidePolygonAndCircle()
[all …]
DWorldManifold.java67 if (manifold.pointCount == 0) { in initialize()
112 for (int i = 0; i < manifold.pointCount; i++) { in initialize()
157 for (int i = 0; i < manifold.pointCount; i++) { in initialize()
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Contacts/
Db2ContactSolver.cpp43 int32 pointCount; member
72 int32 pointCount = manifold->pointCount; in b2ContactSolver() local
73 b2Assert(pointCount > 0); in b2ContactSolver()
86 vc->pointCount = pointCount; in b2ContactSolver()
101 pc->pointCount = pointCount; in b2ContactSolver()
106 for (int32 j = 0; j < pointCount; ++j) in b2ContactSolver()
171 b2Assert(manifold->pointCount > 0); in InitializeVelocityConstraints()
184 int32 pointCount = vc->pointCount; in InitializeVelocityConstraints() local
185 for (int32 j = 0; j < pointCount; ++j) in InitializeVelocityConstraints()
218 if (vc->pointCount == 2 && g_blockSolve) in InitializeVelocityConstraints()
[all …]
Db2Contact.cpp108 if (contact->m_manifold.pointCount > 0 && in Destroy()
136 m_manifold.pointCount = 0; in b2Contact()
188 m_manifold.pointCount = 0; in Update()
193 touching = m_manifold.pointCount > 0; in Update()
197 for (int32 i = 0; i < m_manifold.pointCount; ++i) in Update()
204 for (int32 j = 0; j < oldManifold.pointCount; ++j) in Update()
Db2ContactSolver.h55 int32 pointCount; member
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/
Db2CollideCircle.cpp28 manifold->pointCount = 0; in b2CollideCircles()
45 manifold->pointCount = 1; in b2CollideCircles()
56 manifold->pointCount = 0; in b2CollidePolygonAndCircle()
96 manifold->pointCount = 1; in b2CollidePolygonAndCircle()
115 manifold->pointCount = 1; in b2CollidePolygonAndCircle()
130 manifold->pointCount = 1; in b2CollidePolygonAndCircle()
147 manifold->pointCount = 1; in b2CollidePolygonAndCircle()
Db2Collision.cpp26 if (manifold->pointCount == 0) in Initialize()
56 for (int32 i = 0; i < manifold->pointCount; ++i) in Initialize()
72 for (int32 i = 0; i < manifold->pointCount; ++i) in Initialize()
98 for (int32 i = 0; i < manifold1->pointCount; ++i) in b2GetPointStates()
104 for (int32 j = 0; j < manifold2->pointCount; ++j) in b2GetPointStates()
115 for (int32 i = 0; i < manifold2->pointCount; ++i) in b2GetPointStates()
121 for (int32 j = 0; j < manifold1->pointCount; ++j) in b2GetPointStates()
Db2CollidePolygon.cpp120 manifold->pointCount = 0; in b2CollidePolygons()
215 int32 pointCount = 0; in b2CollidePolygons() local
222 b2ManifoldPoint* cp = manifold->points + pointCount; in b2CollidePolygons()
234 ++pointCount; in b2CollidePolygons()
238 manifold->pointCount = pointCount; in b2CollidePolygons()
Db2CollideEdge.cpp31 manifold->pointCount = 0; in b2CollideEdgeAndCircle()
77 manifold->pointCount = 1; in b2CollideEdgeAndCircle()
115 manifold->pointCount = 1; in b2CollideEdgeAndCircle()
145 manifold->pointCount = 1; in b2CollideEdgeAndCircle()
437 manifold->pointCount = 0; in Collide()
588 int32 pointCount = 0; in Collide() local
597 b2ManifoldPoint* cp = manifold->points + pointCount; in Collide()
613 ++pointCount; in Collide()
617 manifold->pointCount = pointCount; in Collide()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/contacts/
DContactSolver.java117 int pointCount = manifold.pointCount; in init() local
118 assert (pointCount > 0); in init()
131 vc.pointCount = pointCount; in init()
146 pc.pointCount = pointCount; in init()
152 for (int j = 0; j < pointCount; j++) { in init()
188 int pointCount = vc.pointCount; in warmStart() local
199 for (int j = 0; j < pointCount; ++j) { in warmStart()
252 assert (manifold.pointCount > 0); in initializeVelocityConstraints()
269 int pointCount = vc.pointCount; in initializeVelocityConstraints() local
270 for (int j = 0; j < pointCount; ++j) { in initializeVelocityConstraints()
[all …]
DContact.java109 m_manifold.pointCount = 0; in init()
289 m_manifold.pointCount = 0; in update()
292 touching = m_manifold.pointCount > 0; in update()
296 for (int i = 0; i < m_manifold.pointCount; ++i) { in update()
302 for (int j = 0; j < oldManifold.pointCount; ++j) { in update()
DContactPositionConstraint.java42 int pointCount; field in ContactPositionConstraint
DContactVelocityConstraint.java42 public int pointCount; field in ContactVelocityConstraint
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_DataMatrixDetector.cpp72 CFX_MapPtrTemplate<CBC_ResultPoint*, int32_t> pointCount; in Detect() local
73 Increment(pointCount, lSideOne->GetFrom()); in Detect()
74 Increment(pointCount, lSideOne->GetTo()); in Detect()
75 Increment(pointCount, lSideTwo->GetFrom()); in Detect()
76 Increment(pointCount, lSideTwo->GetTo()); in Detect()
83 FX_POSITION itBegin = pointCount.GetStartPosition(); in Detect()
87 pointCount.GetNextAssoc(itBegin, key, value); in Detect()
117 if (!pointCount.Lookup(pointA, value)) { in Detect()
119 } else if (!pointCount.Lookup(pointB, value)) { in Detect()
121 } else if (!pointCount.Lookup(pointC, value)) { in Detect()
/external/opencv/cvaux/src/
Dcvcalibfilter.cpp96 int pointCount, CvPoint2D32f* points ) in SetEtalon() argument
123 pointCount = cvRound((params[0] - 1)*(params[1] - 1)); in SetEtalon()
129 if( !points || pointCount < 4 ) in SetEtalon()
147 arrSize = pointCount * sizeof(etalonPoints[0]); in SetEtalon()
149 if( etalonPointCount != pointCount ) in SetEtalon()
152 etalonPointCount = pointCount; in SetEtalon()
193 int* pointCount, const CvPoint2D32f** points ) const in GetEtalon() argument
201 if( pointCount ) in GetEtalon()
202 *pointCount = etalonPointCount; in GetEtalon()
/external/skia/src/core/
DSkPathRef.cpp139 int32_t verbCount, pointCount, conicCount; in CreateFromBuffer() local
145 !buffer->readS32(&pointCount) || in CreateFromBuffer()
146 pointCount < 0 || in CreateFromBuffer()
147 static_cast<uint32_t>(pointCount) > maxPtrDiff/sizeof(SkPoint) || in CreateFromBuffer()
148 sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount > in CreateFromBuffer()
156 ref->resetToSize(verbCount, pointCount, conicCount); in CreateFromBuffer()
158 SkASSERT(pointCount == ref->countPoints()); in CreateFromBuffer()
162 !buffer->read(ref->fPoints, pointCount * sizeof(SkPoint)) || in CreateFromBuffer()
/external/skia/include/core/
DSkPathRef.h350 void resetToSize(int verbCount, int pointCount, int conicCount,
360 size_t newSize = sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount;
375 fPointCnt = pointCount;
378 fPointCnt = pointCount;
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DDelaunayTriangulatorTest.java65 int pointCount = 100; in triangulate() local
67 for (int i = 0; i < pointCount; i++) { in triangulate()
/external/skia/src/gpu/
DGrPathUtils.cpp163 int pointCount = 0; in worstCasePointCount() local
176 pointCount += 1; in worstCasePointCount()
183 pointCount += quadraticPointCount(quadPts + 2*i, tol); in worstCasePointCount()
187 pointCount += quadraticPointCount(pts, tol); in worstCasePointCount()
190 pointCount += cubicPointCount(pts, tol); in worstCasePointCount()
193 pointCount += 1; in worstCasePointCount()
203 return pointCount; in worstCasePointCount()
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DConvexHull.java223 int pointCount = count / 2; in sortWithIndices() local
225 originalIndices.ensureCapacity(pointCount); in sortWithIndices()
227 for (short i = 0; i < pointCount; i++) in sortWithIndices()
DDelaunayTriangulator.java267 int pointCount = count / 2; in sort() local
269 originalIndices.ensureCapacity(pointCount); in sort()
271 for (short i = 0; i < pointCount; i++) in sort()
/external/opencv3/samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/
DColorBlobDetectionActivity.java149 int pointCount = touchedRect.width*touchedRect.height; in onTouch() local
151 mBlobColorHsv.val[i] /= pointCount; in onTouch()
/external/icu/icu4c/source/layout/
DGlyphDefinitionTables.h42 le_uint16 pointCount; member
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/
DContact.java41 int numContactPoints = contact.getManifold().pointCount; in getWorldManifold()

12