Home
last modified time | relevance | path

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

12345678910>>...200

/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/geo-0.13.0/src/algorithm/
H A Dintersects.rs65 line.intersects(self) in intersects()
89 self_start.intersects(line) in intersects()
115 line.intersects(self) in intersects()
124 p.exterior().intersects(self) in intersects()
136 line.intersects(self) in intersects()
197 polygon.intersects(self) in intersects()
248 polygon.intersects(self) in intersects()
267 self.intersects(&p) in intersects()
451 assert!(p1.intersects(&p2)); in polygons_overlap()
665 assert!(a.intersects(&b)); in rect_test_419()
[all …]
/dports/graphics/dilay/dilay-1.9.0/test/src/
H A Dtest-intersection.cpp19 using IntersectionUtil::intersects; in test1()
88 assert (intersects (cyl, glm::vec3 (0.0f, 1.1f, 0.0f)) == false); in test1()
89 assert (intersects (cyl, glm::vec3 (1.1f, 0.1f, 0.0f)) == false); in test1()
90 assert (intersects (cyl, glm::vec3 (1.0f, 0.0f, 0.0f))); in test1()
91 assert (intersects (cyl, glm::vec3 (1.0f, 1.0f, 0.0f))); in test1()
92 assert (intersects (cyl, glm::vec3 (0.9f, 0.1f, 0.0f))); in test1()
93 assert (intersects (cyl, glm::vec3 (0.1f, 0.9f, 0.0f))); in test1()
96 assert (intersects (cne, glm::vec3 (1.0f, 0.1f, 0.0f)) == false); in test1()
97 assert (intersects (cne, glm::vec3 (1.0f, 0.0f, 0.0f))); in test1()
98 assert (intersects (cne, glm::vec3 (0.5f, 1.0f, 0.0f))); in test1()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/rpl/rsdl/tests/
H A Dtest_dist.cxx97 bool inside, intersects; in test_dist() local
101 rsdl_dist_box_relation( inner_c, outer_c, inside, intersects ); in test_dist()
106 rsdl_dist_box_relation( inner_c, outer_c, inside, intersects ); in test_dist()
111 rsdl_dist_box_relation( inner_c, outer_c, inside, intersects ); in test_dist()
116 rsdl_dist_box_relation( inner_c, outer_c, inside, intersects ); in test_dist()
121 rsdl_dist_box_relation( inner_c, outer_c, inside, intersects ); in test_dist()
288 rsdl_dist_box_relation( inner, outer, inside, intersects ); in test_dist()
293 rsdl_dist_box_relation( inner, outer, inside, intersects ); in test_dist()
299 rsdl_dist_box_relation( inner, outer, inside, intersects ); in test_dist()
304 rsdl_dist_box_relation( inner, outer, inside, intersects ); in test_dist()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/gis/
H A Dintersects.cc114 return bg::intersects(*g1, *g2); in eval()
119 return bg::intersects(*g1, *g2); in eval()
124 return bg::intersects(*g1, *g2); in eval()
135 return bg::intersects(*g1, *g2); in eval()
140 return bg::intersects(*g1, *g2); in eval()
145 return bg::intersects(*g1, *g2); in eval()
154 return bg::intersects(*g1, *g2); in eval()
159 return bg::intersects(*g1, *g2); in eval()
164 return bg::intersects(*g1, *g2); in eval()
175 return bg::intersects(*g1, *g2); in eval()
[all …]
/dports/graphics/dilay/dilay-1.9.0/lib/src/
H A Dintersection.hpp43 bool intersects (const PrimSphere&, const PrimTriangle&);
44 bool intersects (const PrimSphere&, const PrimAABox&);
45 bool intersects (const PrimSphere&, const PrimSphere&);
47 bool intersects (const PrimRay&, const PrimPlane&, float*);
49 bool intersects (const PrimRay&, const PrimAABox&, float*);
52 bool intersects (const PrimPlane&, const PrimAABox&);
53 bool intersects (const PrimPlane&, const PrimTriangle&);
54 bool intersects (const PrimCylinder&, const glm::vec3&);
55 bool intersects (const PrimCone&, const glm::vec3&);
56 bool intersects (const PrimAABox&, const PrimAABox&);
[all …]
/dports/math/jts/jts-jts-1.18.1/modules/core/src/test/java/org/locationtech/jts/index/strtree/
H A DIntervalTest.java33 assertTrue(new Interval(5, 10).intersects(new Interval(7, 12))); in testIntersectsBasic()
34 assertTrue(new Interval(7, 12).intersects(new Interval(5, 10))); in testIntersectsBasic()
35 assertTrue(! new Interval(5, 10).intersects(new Interval(11, 12))); in testIntersectsBasic()
36 assertTrue(! new Interval(11, 12).intersects(new Interval(5, 10))); in testIntersectsBasic()
37 assertTrue(new Interval(5, 10).intersects(new Interval(10, 12))); in testIntersectsBasic()
38 assertTrue(new Interval(10, 12).intersects(new Interval(5, 10))); in testIntersectsBasic()
42 assertTrue(new Interval(10, 10).intersects(new Interval(7, 12))); in testIntersectsZeroWidthInterval()
43 assertTrue(new Interval(7, 12).intersects(new Interval(10, 10))); in testIntersectsZeroWidthInterval()
44 assertTrue(! new Interval(10, 10).intersects(new Interval(11, 12))); in testIntersectsZeroWidthInterval()
46 assertTrue(new Interval(10, 10).intersects(new Interval(10, 12))); in testIntersectsZeroWidthInterval()
[all …]
/dports/math/jts/jts-jts-1.18.1/modules/core/src/main/java/org/locationtech/jts/operation/predicate/
H A DRectangleIntersects.java58 return rp.intersects(b); in intersects()
95 if (visitor.intersects()) in intersects()
111 if (riVisitor.intersects()) in intersects()
129 private boolean intersects = false; field in EnvelopeIntersectsVisitor
143 public boolean intersects() in intersects() method in EnvelopeIntersectsVisitor
145 return intersects; in intersects()
158 intersects = true; in visit()
172 intersects = true; in visit()
177 intersects = true; in visit()
184 return intersects == true; in isDone()
[all …]
/dports/devel/py-node-semver/python-semver-0.8.0/semver/tests/
H A Dtest_intersect_comparators.py42 from semver import make_comparator, intersects
45 actual1 = comparator1.intersects(comparator2)
46 actual2 = comparator2.intersects(comparator1)
47 actual3 = intersects(comparator1, comparator2)
48 actual4 = intersects(comparator2, comparator1)
49 actual4 = intersects(comparator1, comparator2, True)
50 actual5 = intersects(comparator2, comparator1, True)
51 actual6 = intersects(v0, v1)
52 actual7 = intersects(v1, v0)
53 actual8 = intersects(v0, v1, True)
[all …]
/dports/devel/p5-Set-Infinite/Set-Infinite-0.65/_todo/
H A Dbigint.t102 test ("(0,0) intersects to null : ",'$a->intersects(0,0)',"0");
106 test ("(0,0) intersects to null : ",'$a->intersects()',"0");
109 test ("(0,0) intersects to 0 : ",'$a->intersects(0)',"1");
119 test ("(0,0) intersects to (1,1) : ",'$a->intersects(1,1)',"0");
158 test (" intersects (0,3) : ",'$a->intersects(0,3)',"1");
179 test ("intersects 3 : ", '$a->intersects(3)', "0");
180 test ("intersects 2 : ", '$a->intersects(2)', "1");
181 test ("intersects 1 : ", '$a->intersects(1)', "1");
182 test ("intersects 0 : ", '$a->intersects(0)', "0");
184 test ("intersects 0..1 : ", '$a->intersects(Set::Infinite->new(0,1))', "1");
[all …]
H A Dbigfloat.t59 test (" intersects (1.5,2.5) : ",'$a->intersects(1.5,2.5)',"1");
113 test ("(0,0) intersects to null : ",$a->intersects(0,0),"0");
117 test ("(0,0) intersects to null : ",$a->intersects(),"0");
120 test ("(0,0) intersects to 0 : ",$a->intersects(0),"1");
130 test ("(0,0) intersects to (1,1) : ",$a->intersects(1,1),"0");
164 test ("intersects 2.5 : ", '$a->intersects(2.5)', "0");
165 test ("intersects 1.5 : ", '$a->intersects(1.5)', "1");
166 test ("intersects 0.5 : ", '$a->intersects(0.5)', "0");
167 test ("intersects 0.1 ... 0.3 : ", '$a->intersects(Set::Infinite->new(0.1,0.3))', "0");
168 test ("intersects 0.1 ... 1.3 : ", '$a->intersects(Set::Infinite->new(0.1,1.3))', "1");
[all …]
/dports/graphics/qgis/qgis-3.22.3/tests/src/core/
H A Dtestqgsinternalgeometryengine.cpp68 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 5, 15 ), QgsPointXY( 3, 5 ) ), intersect ) … in ray()
71 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 3, 5 ), QgsPointXY( 5, 15 ) ), intersect ) … in ray()
74 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 3, 1 ), QgsPointXY( 3, 6 ) ), intersect ) ); in ray()
77 …QVERIFY( !ray.intersects( QgsLineSegment2D( QgsPointXY( 4, 1 ), QgsPointXY( 4, 6 ) ), intersect ) … in ray()
78 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 2, 1 ), QgsPointXY( 2, 6 ) ), intersect ) ); in ray()
81 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 2, 1 ), QgsPointXY( 2, 16 ) ), intersect ) … in ray()
84 …QVERIFY( !ray.intersects( QgsLineSegment2D( QgsPointXY( 1, 1 ), QgsPointXY( 1, 6 ) ), intersect ) … in ray()
85 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 1, 1 ), QgsPointXY( 1, 26 ) ), intersect ) … in ray()
88 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 4, 4 ), QgsPointXY( 2, 6 ) ), intersect ) ); in ray()
92 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 2, 6 ), QgsPointXY( 1, 7 ) ), intersect ) ); in ray()
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/core/
H A Dtestqgsinternalgeometryengine.cpp68 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 5, 15 ), QgsPointXY( 3, 5 ) ), intersect ) … in ray()
71 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 3, 5 ), QgsPointXY( 5, 15 ) ), intersect ) … in ray()
74 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 3, 1 ), QgsPointXY( 3, 6 ) ), intersect ) ); in ray()
77 …QVERIFY( !ray.intersects( QgsLineSegment2D( QgsPointXY( 4, 1 ), QgsPointXY( 4, 6 ) ), intersect ) … in ray()
78 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 2, 1 ), QgsPointXY( 2, 6 ) ), intersect ) ); in ray()
81 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 2, 1 ), QgsPointXY( 2, 16 ) ), intersect ) … in ray()
84 …QVERIFY( !ray.intersects( QgsLineSegment2D( QgsPointXY( 1, 1 ), QgsPointXY( 1, 6 ) ), intersect ) … in ray()
85 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 1, 1 ), QgsPointXY( 1, 26 ) ), intersect ) … in ray()
88 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 4, 4 ), QgsPointXY( 2, 6 ) ), intersect ) ); in ray()
92 …QVERIFY( ray.intersects( QgsLineSegment2D( QgsPointXY( 2, 6 ), QgsPointXY( 1, 7 ) ), intersect ) ); in ray()
[all …]
/dports/games/palapeli/palapeli-21.12.3/slicers/goldberg/
H A Dgrid-rotrex.cpp146 bool intersects; in generateGrid() local
172 if (intersects) { in generateGrid()
202 if (intersects) { in generateGrid()
210 intersects = true; in generateGrid()
224 if (intersects) { in generateGrid()
231 intersects = true; in generateGrid()
244 if (intersects) { in generateGrid()
251 intersects = true; in generateGrid()
262 if (intersects) { in generateGrid()
269 intersects = true; in generateGrid()
[all …]
H A Dgrid-cairo.cpp140 bool intersects; in generateGrid() local
147 if (i>0 && intersects) { in generateGrid()
152 intersects = false; in generateGrid()
158 if (intersects) { in generateGrid()
170 if (i>0 && intersects) { in generateGrid()
181 if (intersects) { in generateGrid()
192 if (i>0 && intersects) { in generateGrid()
203 if (intersects) { in generateGrid()
214 if (i>0 && intersects) { in generateGrid()
225 if (intersects) { in generateGrid()
[all …]
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/lyon_geom-0.15.3/src/
H A Dtriangle.rs130 self.ab().intersects(segment) in intersects_line_segment()
199 assert!(t1.intersects(&t2)); in test_triangle_intersections()
200 assert!(t2.intersects(&t1)); in test_triangle_intersections()
209 assert!(!t1.intersects(&t3)); in test_triangle_intersections()
210 assert!(!t3.intersects(&t1)); in test_triangle_intersections()
219 assert!(t1.intersects(&t4)); in test_triangle_intersections()
220 assert!(t4.intersects(&t1)); in test_triangle_intersections()
223 assert!(t1.intersects(&t1)); in test_triangle_intersections()
224 assert!(t2.intersects(&t2)); in test_triangle_intersections()
225 assert!(t3.intersects(&t3)); in test_triangle_intersections()
[all …]
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/lyon_geom-0.15.2/src/
H A Dtriangle.rs130 self.ab().intersects(segment) in intersects_line_segment()
199 assert!(t1.intersects(&t2)); in test_triangle_intersections()
200 assert!(t2.intersects(&t1)); in test_triangle_intersections()
209 assert!(!t1.intersects(&t3)); in test_triangle_intersections()
210 assert!(!t3.intersects(&t1)); in test_triangle_intersections()
219 assert!(t1.intersects(&t4)); in test_triangle_intersections()
220 assert!(t4.intersects(&t1)); in test_triangle_intersections()
223 assert!(t1.intersects(&t1)); in test_triangle_intersections()
224 assert!(t2.intersects(&t2)); in test_triangle_intersections()
225 assert!(t3.intersects(&t3)); in test_triangle_intersections()
[all …]
/dports/databases/sfcgal/SFCGAL-815d5097f684dbc48b22041bf2047beab36df0a1/test/unit/SFCGAL/detail/
H A DIntervalTest.cpp135 BOOST_CHECK( ! Interval().intersects( Interval() ) ); in BOOST_AUTO_TEST_CASE()
136 BOOST_CHECK( ! Interval( 0.0,1.0 ).intersects( Interval() ) ); in BOOST_AUTO_TEST_CASE()
137 BOOST_CHECK( ! Interval().intersects( Interval( 0.0,1.0 ) ) ); in BOOST_AUTO_TEST_CASE()
142 BOOST_CHECK( Interval( 0.0,1.0 ).intersects( Interval( -1.0,0.5 ) ) ); in BOOST_AUTO_TEST_CASE()
143 BOOST_CHECK( Interval( 0.0,1.0 ).intersects( Interval( 0.3,0.5 ) ) ); in BOOST_AUTO_TEST_CASE()
144 BOOST_CHECK( Interval( 0.0,1.0 ).intersects( Interval( 0.5,2.0 ) ) ); in BOOST_AUTO_TEST_CASE()
146 BOOST_CHECK( ! Interval( 0.0,1.0 ).intersects( Interval( 2.0,3.0 ) ) ); in BOOST_AUTO_TEST_CASE()
151 BOOST_CHECK( Interval( 0.0,1.0 ).intersects( Interval( 1.0,2.0 ) ) ); in BOOST_AUTO_TEST_CASE()
152 BOOST_CHECK( Interval( 0.0,1.0 ).intersects( Interval( -1.0,0.0 ) ) ); in BOOST_AUTO_TEST_CASE()
154 BOOST_CHECK( Interval( 1.0,2.0 ).intersects( Interval( 0.0,1.0 ) ) ); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/databases/postgis30/postgis-3.0.4/topology/test/regress/
H A Daddedge_expected4 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(1 0)
5 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(1 0)
6 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(1 0)
7 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(0 0)
8 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(0 0)
9 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(5 0)
10 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(5 0)
11 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(0 0)
12 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(5 0)
20 ERROR: Edge intersects (not on endpoints) with existing edge 7 at or near point POINT(8 10)
[all …]
/dports/databases/postgis32/postgis-3.2.0/topology/test/regress/
H A Daddedge_expected4 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(1 0)
5 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(1 0)
6 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(1 0)
7 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(0 0)
8 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(0 0)
9 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(5 0)
10 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(5 0)
11 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(0 0)
12 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(5 0)
20 ERROR: Edge intersects (not on endpoints) with existing edge 7 at or near point POINT(10 12)
[all …]
/dports/databases/postgis31/postgis-3.1.4/topology/test/regress/
H A Daddedge_expected4 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(1 0)
5 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(1 0)
6 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(1 0)
7 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(0 0)
8 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(0 0)
9 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(5 0)
10 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(5 0)
11 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(0 0)
12 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(5 0)
20 ERROR: Edge intersects (not on endpoints) with existing edge 7 at or near point POINT(10 12)
[all …]
/dports/databases/postgis25/postgis-2.5.5/topology/test/regress/
H A Daddedge_expected4 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(1 0)
5 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(1 0)
6 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(1 0)
7 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(0 0)
8 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(0 0)
9 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(5 0)
10 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(5 0)
11 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(0 0)
12 ERROR: Edge intersects (not on endpoints) with existing edge 1 at or near point POINT(5 0)
20 ERROR: Edge intersects (not on endpoints) with existing edge 7 at or near point POINT(8 10)
[all …]
/dports/astro/stellarium/stellarium-0.21.3/src/core/
H A DStelSphereGeometry.hpp227 bool intersects(const SphericalRegion* r) const;
228 bool intersects(const SphericalRegionP r) const {return intersects(r.data());} in intersects() function in SphericalRegion
230 virtual bool intersects(const SphericalPolygon& r) const;
232 virtual bool intersects(const SphericalCap& r) const;
233 virtual bool intersects(const SphericalPoint& r) const;
520 using SphericalRegion::intersects;
564 using SphericalRegion::intersects;
597 …virtual bool intersects(const SphericalPolygon& r) const Q_DECL_OVERRIDE {return octahedronPolygon… in intersects() function in SphericalPolygon
599 virtual bool intersects(const SphericalCap& r) const Q_DECL_OVERRIDE {return r.intersects(*this);} in intersects() function in SphericalPolygon
646 using SphericalRegion::intersects;
[all …]
/dports/devel/p5-List-Objects-WithUtils/List-Objects-WithUtils-2.028003/t/01_array/
H A Dintersection.t10 my $intersects = $first->intersection($second, $third);
11 ok $intersects->count == 2, '2 items in intersection'
12 or diag explain $intersects;
14 [ $intersects->sort->all ],
17 or diag explain $intersects;
19 $intersects = $first->intersection($second);
20 ok $intersects->count == 2, '2 items in intersection';
22 [ $intersects->sort->all ],
30 $intersects = $dupes->intersection($first);
32 [ $intersects->sort->all ],
/dports/devel/boost-docs/boost_1_72_0/libs/geometry/doc/generated/
H A Dintersects.qbk16 [section:intersects_1_one_geometry intersects (one geometry)]
18 '''<indexterm><primary>intersects</primary></indexterm>'''
23 bool intersects(Geometry const & geometry)``
44 `#include <boost/geometry/algorithms/intersects.hpp>`
47 [include reference/algorithms/intersects.qbk]
54 '''<indexterm><primary>intersects</primary></indexterm>'''
82 `#include <boost/geometry/algorithms/intersects.hpp>`
84 [include reference/algorithms/intersects.qbk]
91 '''<indexterm><primary>intersects</primary></indexterm>'''
118 `#include <boost/geometry/algorithms/intersects.hpp>`
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/geometry/doc/generated/
H A Dintersects.qbk16 [section:intersects_1_one_geometry intersects (one geometry)]
18 '''<indexterm><primary>intersects</primary></indexterm>'''
23 bool intersects(Geometry const & geometry)``
44 `#include <boost/geometry/algorithms/intersects.hpp>`
47 [include reference/algorithms/intersects.qbk]
54 '''<indexterm><primary>intersects</primary></indexterm>'''
82 `#include <boost/geometry/algorithms/intersects.hpp>`
84 [include reference/algorithms/intersects.qbk]
91 '''<indexterm><primary>intersects</primary></indexterm>'''
118 `#include <boost/geometry/algorithms/intersects.hpp>`
[all …]

12345678910>>...200