Home
last modified time | relevance | path

Searched refs:intersects (Results 1 – 25 of 75) sorted by relevance

123

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DRectRegionTest.java66 assertTrue(region1.intersects(region2)); in testIsWithin()
67 assertTrue(region2.intersects(region1)); in testIsWithin()
70 assertFalse(region1.intersects(region3)); in testIsWithin()
71 assertFalse(region3.intersects(region1)); in testIsWithin()
74 assertTrue(region1.intersects(region4)); in testIsWithin()
75 assertTrue(region4.intersects(region1)); in testIsWithin()
79 assertTrue(region1.intersects(region5)); in testIsWithin()
80 assertTrue(region5.intersects(region1)); in testIsWithin()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DRectRegion.java73 public boolean intersects(RectRegion region) { in intersects() method in RectRegion
74 return intersects(region.getMinX(), region.getMaxX(), region.getMinY(), region.getMaxY()); in intersects()
89 public boolean intersects(Number minX, Number maxX, Number minY, Number maxY) { in intersects() method in RectRegion
90 return xLineRegion.intersects(minX, maxX) && yLineRegion.intersects(minY, maxY); in intersects()
93 …public boolean intersects(RectF region, Number visMinX, Number visMaxX, Number visMinY, Number vis… in intersects() method in RectRegion
97 return RectF.intersects(thisRegion, region); in intersects()
134 if(r.intersects(minX, maxX, minY, maxY)) { in regionsWithin()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
DRegionTest.java46 assertFalse(line1.intersects(line2)); in testIntersects()
49 assertTrue(line1.intersects(line2)); in testIntersects()
53 assertTrue(line1.intersects(line2)); in testIntersects()
57 assertFalse(line1.intersects(line2)); in testIntersects()
DLineRegionTest.java62 assertFalse(line1.intersects(line2)); in testIntersects()
65 assertTrue(line1.intersects(line2)); in testIntersects()
69 assertTrue(line1.intersects(line2)); in testIntersects()
73 assertFalse(line1.intersects(line2)); in testIntersects()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/
DLineRegion.java54 public boolean intersects(LineRegion lineRegion) { in intersects() method in LineRegion
55 return intersects(lineRegion.getMinVal(), lineRegion.getMaxVal()); in intersects()
64 public boolean intersects(Number line2Min, Number line2Max) { in intersects() method in LineRegion
/external/skia/tests/
DRegionTest.cpp17 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect))
18 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect))
88 REPORTER_ASSERT(reporter, !empty.intersects(empty2)); in test_empties()
89 REPORTER_ASSERT(reporter, !valid.intersects(empty)); in test_empties()
174 REPORTER_ASSERT(reporter, rgn.intersects(r)); in test_intersects_iter()
176 REPORTER_ASSERT(reporter, rgn.intersects(r)); in test_intersects_iter()
183 bool c0 = a.intersects(b); in intersects_proc()
DPathOpsDRectTest.cpp52 REPORTER_ASSERT(reporter, rect.intersects(rect2)); in DEF_TEST()
64 REPORTER_ASSERT(reporter, rect.intersects(rect2)); in DEF_TEST()
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
DBoundingVolume.java247 public abstract boolean intersects(BoundingVolume bv); in intersects() method in BoundingVolume
256 public abstract boolean intersects(Ray ray); in intersects() method in BoundingVolume
305 public abstract boolean intersects(Vector3f point); in intersects() method in BoundingVolume
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DRay.java141 return intersects(v0, v1, v2, loc, false, false); in intersectWhere()
181 return intersects(v0, v1, v2, loc, true, false); in intersectWherePlanar()
200 private boolean intersects(Vector3f v0, Vector3f v1, Vector3f v2, in intersects() method in Ray
271 public float intersects(Vector3f v0, Vector3f v1, Vector3f v2) { in intersects() method in Ray
359 return intersects(v0, v1, v2, loc, true, true); in intersectWherePlanarQuad()
391 float d = intersects(tri.get1(), tri.get2(), tri.get3()); in collideWith()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DRectTest.java132 assertThat(Rect.intersects(a, b), is(false)); in doesntIntersect()
136 public void intersects() { in intersects() method in RectTest
139 assertThat(Rect.intersects(a, b), is(true)); in intersects()
146 assertThat(Rect.intersects(a, b), is(false)); in almostIntersects()
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DPolygon.java201 int intersects = 0;
208 … y && y < y2) || (y2 <= y && y < y1)) && x < ((x2 - x1) / (y2 - y1) * (y - y1) + x1)) intersects++;
210 return (intersects & 1) == 1;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DIdentifierInfo.java133 if (!requiredScripts.intersects(scriptsForCP) in setIdentifier()
149 if (requiredScripts.intersects(next)) { in setIdentifier()
273 …ityPlus == 2 && requiredScripts.get(UScript.LATIN) && !requiredScripts.intersects(CONFUSABLE_WITH_… in getRestrictionLevel()
320 if (!container.intersects(alternatives)) { in containsWithAlternates()
/external/icu/icu4c/source/i18n/
Didentifier_info.cpp155 if (!fRequiredScripts->intersects(scriptsForCP) in setIdentifier()
177 if (fRequiredScripts->intersects(*next)) { in setIdentifier()
251 !fRequiredScripts->intersects(*CONFUSABLE_WITH_LATIN)) { in getRestrictionLevel()
278 if (!container.intersects(*alternatives)) { in containsWithAlternates()
Dscriptset.h49 …UBool intersects(const ScriptSet &other) const; // Sets contain at least one script in commm…
/external/icu/android_icu4j/src/main/java/android/icu/text/
DIdentifierInfo.java135 if (!requiredScripts.intersects(scriptsForCP) in setIdentifier()
151 if (requiredScripts.intersects(next)) { in setIdentifier()
275 …ityPlus == 2 && requiredScripts.get(UScript.LATIN) && !requiredScripts.intersects(CONFUSABLE_WITH_… in getRestrictionLevel()
322 if (!container.intersects(alternatives)) { in containsWithAlternates()
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/
DShadowUtil.java375 if (splitBB.intersects(recvBox)) { in updateShadowCamera()
387 boolean intersects = splitBB.intersects(occBox); in updateShadowCamera()
388 if (!intersects && occBox instanceof BoundingBox) { in updateShadowCamera()
398 if (splitBB.intersects(occBB)) { in updateShadowCamera()
409 } else if (intersects) { in updateShadowCamera()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowRect.java93 public static boolean intersects(Rect a, Rect b) { in intersects() method in ShadowRect
100 return intersects(realRect, r); in intersect()
/external/replicaisland/src/com/replica/replicaisland/
DSphereCollisionVolume.java85 public boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, in intersects() method in SphereCollisionVolume
91 result = other.intersects(otherPosition, otherFlip, this, position, flip); in intersects()
/external/skia/bench/
DRegionBench.cpp49 return a.intersects(b); in sectsrgn_proc()
55 return a.intersects(r); in sectsrect_proc()
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DOctnode.java85 if (bbox.intersects(t.get1(), t.get2(), t.get3())){ in getAdditionCost()
295 float d = r.intersects(t.get1(), t.get2(), t.get3()); in intersectWhere()
311 if (child.bbox.intersects(r)){ in intersectWhere()
/external/llvm/include/llvm/ADT/
DSparseBitVector.h177 bool intersects(const SparseBitVectorElement &RHS) const {
760 bool intersects(const SparseBitVector<ElementSize> *RHS) const {
761 return intersects(*RHS);
765 bool intersects(const SparseBitVector<ElementSize> &RHS) const {
781 if (Iter1->intersects(*Iter2))
/external/skia/include/core/
DSkRegion.h148 bool intersects(const SkIRect&) const;
154 bool intersects(const SkRegion&) const;
/external/skia/samplecode/
DSampleXfer.cpp92 if (r.intersects(target)) { in onClick()
119 return this->getBounds().intersects(target); in hitTest()
/external/eigen/unsupported/Eigen/
DBVH39 * - Determine all points where a ray intersects a triangle mesh
74 bool intersectVolume(const Volume &volume) //returns true if the query intersects the volume
78 …* intersects the query (but possibly on other objects too) unless the search is terminated prematu…
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
DBIHNode.java281 float t = r.intersects(v1, v2, v3); in intersectBrute()
402 float t = r.intersects(v1, v2, v3); in intersectWhere()
408 float t_world = new Ray(o, d).intersects(v1, v2, v3); in intersectWhere()

123