/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | drawing_primitives.cpp | 11 void draw_line( const std::function<void( const point & )> &set, const point &p1, const point &p2 ) in draw_line() argument 15 set( i ); in draw_line() 17 set( p1 ); in draw_line() 20 void draw_square( const std::function<void( const point & )> &set, point p1, point p2 ) in draw_square() argument 30 set( point( x, y ) ); in draw_square() 35 void draw_rough_circle( const std::function<void( const point & )> &set, const point &p, int rad ) in draw_rough_circle() argument 40 set( point( i, j ) ); in draw_rough_circle() 46 void draw_circle( const std::function<void( const point & )> &set, const rl_vec2d &p, double rad ) in draw_circle() argument 51 set( point( i, j ) ); in draw_circle() 57 void draw_circle( const std::function<void( const point & )> &set, const point &p, int rad ) in draw_circle() argument [all …]
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | drawing_primitives.cpp | 11 void draw_line( const std::function<void( const point & )> &set, const point &p1, const point &p2 ) in draw_line() argument 15 set( i ); in draw_line() 17 set( p1 ); in draw_line() 20 void draw_square( const std::function<void( const point & )> &set, point p1, point p2 ) in draw_square() argument 30 set( point( x, y ) ); in draw_square() 35 void draw_rough_circle( const std::function<void( const point & )> &set, const point &p, int rad ) in draw_rough_circle() argument 40 set( point( i, j ) ); in draw_rough_circle() 46 void draw_circle( const std::function<void( const point & )> &set, const rl_vec2d &p, double rad ) in draw_circle() argument 51 set( point( i, j ) ); in draw_circle() 57 void draw_circle( const std::function<void( const point & )> &set, const point &p, int rad ) in draw_circle() argument [all …]
|
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/util/ |
H A D | transformation.cpp | 149 mat.set(2*i, 0, point->src_coords.x()); in estimateSimilarityTransformation() 150 mat.set(2*i, 1, point->src_coords.y()); in estimateSimilarityTransformation() 153 mat.set(2*i+1, 0, point->src_coords.y()); in estimateSimilarityTransformation() 159 values.set(2*i+1, 0, point->dest_coords.y()); in estimateSimilarityTransformation() 203 …point.calculated_coords = MapCoordF(trans_change.get(0, 0) * point.src_coords.x() + trans_change.g… in estimateSimilarityTransformation() 261 mat.set(2*i, 1, point->src_coords.y()); in estimateSimilarityTransformation() 264 mat.set(2*i+1, 0, point->src_coords.y()); in estimateSimilarityTransformation() 270 values.set(2*i+1, 0, point->dest_coords.y()); in estimateSimilarityTransformation() 335 mat.set(2*i, 1, point->src_coords.y()); in estimateNonIsometricSimilarityTransform() 344 mat.set(2*i+1, 4, point->src_coords.y()); in estimateNonIsometricSimilarityTransform() [all …]
|
/dports/devel/boost-docs/boost_1_72_0/libs/polygon/test/ |
H A D | polygon_point_test.cpp | 46 point2.set(HORIZONTAL, 1); in point_data_test() 47 point2.set(VERTICAL, 2); in point_data_test() 59 point_mutable_traits<point_type>::set(point, HORIZONTAL, 3); in point_traits_test() 60 point_mutable_traits<point_type>::set(point, VERTICAL, 4); in point_traits_test() 91 static void set(Point<T>& point, orientation_2d orient, T value) { in set() function 98 point.y = y; in construct() 113 set(point1, HORIZONTAL, 3); in point_concept_test1() 114 set(point1, VERTICAL, 4); in point_concept_test1() 148 BOOST_TEST_EQ(y(point), 5); in point_concept_test3() 152 BOOST_TEST_EQ(y(point), 2); in point_concept_test3() [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/polygon/test/ |
H A D | polygon_point_test.cpp | 46 point2.set(HORIZONTAL, 1); in point_data_test() 47 point2.set(VERTICAL, 2); in point_data_test() 59 point_mutable_traits<point_type>::set(point, HORIZONTAL, 3); in point_traits_test() 60 point_mutable_traits<point_type>::set(point, VERTICAL, 4); in point_traits_test() 91 static void set(Point<T>& point, orientation_2d orient, T value) { in set() function 98 point.y = y; in construct() 113 set(point1, HORIZONTAL, 3); in point_concept_test1() 114 set(point1, VERTICAL, 4); in point_concept_test1() 148 BOOST_TEST_EQ(y(point), 5); in point_concept_test3() 152 BOOST_TEST_EQ(y(point), 2); in point_concept_test3() [all …]
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/polygon/test/ |
H A D | polygon_point_test.cpp | 49 point2.set(HORIZONTAL, 1); in BOOST_AUTO_TEST_CASE_TEMPLATE() 50 point2.set(VERTICAL, 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() 61 point_mutable_traits<point_type>::set(point, HORIZONTAL, 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 62 point_mutable_traits<point_type>::set(point, VERTICAL, 4); in BOOST_AUTO_TEST_CASE_TEMPLATE() 93 static void set(Point<T>& point, orientation_2d orient, T value) { in set() function 100 point.y = y; in construct() 114 set(point1, HORIZONTAL, 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 115 set(point1, VERTICAL, 4); in BOOST_AUTO_TEST_CASE_TEMPLATE() 147 BOOST_CHECK_EQUAL(y(point), 5); in BOOST_AUTO_TEST_CASE_TEMPLATE() 151 BOOST_CHECK_EQUAL(y(point), 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() [all …]
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/polygon/test/ |
H A D | polygon_point_test.cpp | 49 point2.set(HORIZONTAL, 1); in BOOST_AUTO_TEST_CASE_TEMPLATE() 50 point2.set(VERTICAL, 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() 61 point_mutable_traits<point_type>::set(point, HORIZONTAL, 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 62 point_mutable_traits<point_type>::set(point, VERTICAL, 4); in BOOST_AUTO_TEST_CASE_TEMPLATE() 93 static void set(Point<T>& point, orientation_2d orient, T value) { in set() function 100 point.y = y; in construct() 114 set(point1, HORIZONTAL, 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 115 set(point1, VERTICAL, 4); in BOOST_AUTO_TEST_CASE_TEMPLATE() 147 BOOST_CHECK_EQUAL(y(point), 5); in BOOST_AUTO_TEST_CASE_TEMPLATE() 151 BOOST_CHECK_EQUAL(y(point), 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() [all …]
|
/dports/databases/percona57-server/boost_1_59_0/libs/polygon/test/ |
H A D | polygon_point_test.cpp | 49 point2.set(HORIZONTAL, 1); in BOOST_AUTO_TEST_CASE_TEMPLATE() 50 point2.set(VERTICAL, 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() 61 point_mutable_traits<point_type>::set(point, HORIZONTAL, 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 62 point_mutable_traits<point_type>::set(point, VERTICAL, 4); in BOOST_AUTO_TEST_CASE_TEMPLATE() 93 static void set(Point<T>& point, orientation_2d orient, T value) { in set() function 100 point.y = y; in construct() 114 set(point1, HORIZONTAL, 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 115 set(point1, VERTICAL, 4); in BOOST_AUTO_TEST_CASE_TEMPLATE() 147 BOOST_CHECK_EQUAL(y(point), 5); in BOOST_AUTO_TEST_CASE_TEMPLATE() 151 BOOST_CHECK_EQUAL(y(point), 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() [all …]
|
/dports/databases/xtrabackup/boost_1_59_0/libs/polygon/test/ |
H A D | polygon_point_test.cpp | 49 point2.set(HORIZONTAL, 1); in BOOST_AUTO_TEST_CASE_TEMPLATE() 50 point2.set(VERTICAL, 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() 61 point_mutable_traits<point_type>::set(point, HORIZONTAL, 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 62 point_mutable_traits<point_type>::set(point, VERTICAL, 4); in BOOST_AUTO_TEST_CASE_TEMPLATE() 93 static void set(Point<T>& point, orientation_2d orient, T value) { in set() function 100 point.y = y; in construct() 114 set(point1, HORIZONTAL, 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 115 set(point1, VERTICAL, 4); in BOOST_AUTO_TEST_CASE_TEMPLATE() 147 BOOST_CHECK_EQUAL(y(point), 5); in BOOST_AUTO_TEST_CASE_TEMPLATE() 151 BOOST_CHECK_EQUAL(y(point), 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() [all …]
|
/dports/databases/percona57-client/boost_1_59_0/libs/polygon/test/ |
H A D | polygon_point_test.cpp | 49 point2.set(HORIZONTAL, 1); in BOOST_AUTO_TEST_CASE_TEMPLATE() 50 point2.set(VERTICAL, 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() 61 point_mutable_traits<point_type>::set(point, HORIZONTAL, 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 62 point_mutable_traits<point_type>::set(point, VERTICAL, 4); in BOOST_AUTO_TEST_CASE_TEMPLATE() 93 static void set(Point<T>& point, orientation_2d orient, T value) { in set() function 100 point.y = y; in construct() 114 set(point1, HORIZONTAL, 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 115 set(point1, VERTICAL, 4); in BOOST_AUTO_TEST_CASE_TEMPLATE() 147 BOOST_CHECK_EQUAL(y(point), 5); in BOOST_AUTO_TEST_CASE_TEMPLATE() 151 BOOST_CHECK_EQUAL(y(point), 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/libs/polygon/test/ |
H A D | polygon_point_test.cpp | 46 point2.set(HORIZONTAL, 1); in point_data_test() 47 point2.set(VERTICAL, 2); in point_data_test() 59 point_mutable_traits<point_type>::set(point, HORIZONTAL, 3); in point_traits_test() 60 point_mutable_traits<point_type>::set(point, VERTICAL, 4); in point_traits_test() 91 static void set(Point<T>& point, orientation_2d orient, T value) { in set() function 98 point.y = y; in construct() 113 set(point1, HORIZONTAL, 3); in point_concept_test1() 114 set(point1, VERTICAL, 4); in point_concept_test1() 148 BOOST_TEST_EQ(y(point), 5); in point_concept_test3() 152 BOOST_TEST_EQ(y(point), 2); in point_concept_test3() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/libs/polygon/test/ |
H A D | polygon_point_test.cpp | 46 point2.set(HORIZONTAL, 1); in point_data_test() 47 point2.set(VERTICAL, 2); in point_data_test() 59 point_mutable_traits<point_type>::set(point, HORIZONTAL, 3); in point_traits_test() 60 point_mutable_traits<point_type>::set(point, VERTICAL, 4); in point_traits_test() 91 static void set(Point<T>& point, orientation_2d orient, T value) { in set() function 98 point.y = y; in construct() 113 set(point1, HORIZONTAL, 3); in point_concept_test1() 114 set(point1, VERTICAL, 4); in point_concept_test1() 148 BOOST_TEST_EQ(y(point), 5); in point_concept_test3() 152 BOOST_TEST_EQ(y(point), 2); in point_concept_test3() [all …]
|
/dports/lang/guile2/guile-2.2.7/test-suite/tests/ |
H A D | r6rs-records-procedural.test | 42 (point-x-set! (record-mutator :point 0)) 43 (point-y-set! (record-mutator :point 1)) 48 (unspecified? (point-x-set! p1 5)) 210 (point-set-x! (record-mutator :point 0)) 211 (point-set-y! (record-mutator :point 1)) 214 (point-set-x! point 3) 215 (point-set-y! point 4) 236 (point-set-x! (record-mutator :point 0)) 237 (point-set-y! (record-mutator :point 1)) 240 (point-set-x! voxel 3) [all …]
|
/dports/lang/guile/guile-3.0.7/test-suite/tests/ |
H A D | r6rs-records-procedural.test | 42 (point-x-set! (record-mutator :point 0)) 43 (point-y-set! (record-mutator :point 1)) 48 (unspecified? (point-x-set! p1 5)) 217 (point-set-x! (record-mutator :point 0)) 218 (point-set-y! (record-mutator :point 1)) 221 (point-set-x! point 3) 222 (point-set-y! point 4) 243 (point-set-x! (record-mutator :point 0)) 244 (point-set-y! (record-mutator :point 1)) 247 (point-set-x! voxel 3) [all …]
|
/dports/graphics/tiled/tiled-1.7.2/src/libtiled/ |
H A D | grid.h | 63 const T &get(int x, int y) const { return mValues.at(x + y * CHUNK_SIZE); } in get() argument 64 const T &get(QPoint point) const { return get(point.x(), point.y()); } in get() argument 66 void set(int x, int y, const T &value) { mValues[x + y * CHUNK_SIZE] = value; } in set() function 67 void set(QPoint point, const T &value) { set(point.x(), point.y(), value); } in set() function 100 const T &get(QPoint point) const in get() argument 102 return get(point.x(), point.y()); in get() 108 void set(int x, int y, const T &value) in set() function 117 y - (y & CHUNK_MASK), in set() 124 chunk->set(x & CHUNK_MASK, y & CHUNK_MASK, value); in set() 127 void set(QPoint point, const T &value) in set() function [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/unittests/Analysis/ |
H A D | PresburgerSetTest.cpp | 30 bool inS = s.containsPoint(point); in testUnionAtPoints() 31 bool inT = t.containsPoint(point); in testUnionAtPoints() 43 bool inS = s.containsPoint(point); in testIntersectAtPoints() 105 return set; in makeSetFromFACs() 141 for (unsigned y = -6; y <= 16; ++y) { in TEST() local 142 if (4 <= x + y && x + y <= 32 && 2 <= x - y && x - y <= 16) in TEST() 144 else if (2 <= x && x <= 10 && 2 <= y && y <= 10) in TEST() 560 EXPECT_TRUE(set.subtract(set).isEqual(emptySet)); in TEST() 562 EXPECT_TRUE(set.isEqual(set)); in TEST() 566 EXPECT_FALSE(set.unionSet(set.complement()).isEqual(set)); in TEST() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/unittests/Analysis/ |
H A D | PresburgerSetTest.cpp | 30 bool inS = s.containsPoint(point); in testUnionAtPoints() 31 bool inT = t.containsPoint(point); in testUnionAtPoints() 43 bool inS = s.containsPoint(point); in testIntersectAtPoints() 105 return set; in makeSetFromFACs() 141 for (unsigned y = -6; y <= 16; ++y) { in TEST() local 142 if (4 <= x + y && x + y <= 32 && 2 <= x - y && x - y <= 16) in TEST() 144 else if (2 <= x && x <= 10 && 2 <= y && y <= 10) in TEST() 560 EXPECT_TRUE(set.subtract(set).isEqual(emptySet)); in TEST() 562 EXPECT_TRUE(set.isEqual(set)); in TEST() 566 EXPECT_FALSE(set.unionSet(set.complement()).isEqual(set)); in TEST() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/unittests/Analysis/ |
H A D | PresburgerSetTest.cpp | 30 bool inS = s.containsPoint(point); in testUnionAtPoints() 31 bool inT = t.containsPoint(point); in testUnionAtPoints() 43 bool inS = s.containsPoint(point); in testIntersectAtPoints() 105 return set; in makeSetFromFACs() 141 for (unsigned y = -6; y <= 16; ++y) { in TEST() local 142 if (4 <= x + y && x + y <= 32 && 2 <= x - y && x - y <= 16) in TEST() 144 else if (2 <= x && x <= 10 && 2 <= y && y <= 10) in TEST() 560 EXPECT_TRUE(set.subtract(set).isEqual(emptySet)); in TEST() 562 EXPECT_TRUE(set.isEqual(set)); in TEST() 566 EXPECT_FALSE(set.unionSet(set.complement()).isEqual(set)); in TEST() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/unittests/Analysis/ |
H A D | PresburgerSetTest.cpp | 30 bool inS = s.containsPoint(point); in testUnionAtPoints() 31 bool inT = t.containsPoint(point); in testUnionAtPoints() 43 bool inS = s.containsPoint(point); in testIntersectAtPoints() 105 return set; in makeSetFromFACs() 141 for (unsigned y = -6; y <= 16; ++y) { in TEST() local 142 if (4 <= x + y && x + y <= 32 && 2 <= x - y && x - y <= 16) in TEST() 144 else if (2 <= x && x <= 10 && 2 <= y && y <= 10) in TEST() 560 EXPECT_TRUE(set.subtract(set).isEqual(emptySet)); in TEST() 562 EXPECT_TRUE(set.isEqual(set)); in TEST() 566 EXPECT_FALSE(set.unionSet(set.complement()).isEqual(set)); in TEST() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/unittests/Analysis/ |
H A D | PresburgerSetTest.cpp | 30 bool inS = s.containsPoint(point); 31 bool inT = t.containsPoint(point); 43 bool inS = s.containsPoint(point); 105 return set; 141 for (unsigned y = -6; y <= 16; ++y) { 142 if (4 <= x + y && x + y <= 32 && 2 <= x - y && x - y <= 16) 144 else if (2 <= x && x <= 10 && 2 <= y && y <= 10) 560 EXPECT_TRUE(set.subtract(set).isEqual(emptySet)); 562 EXPECT_TRUE(set.isEqual(set)); 566 EXPECT_FALSE(set.unionSet(set.complement()).isEqual(set)); [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/gui-lib/mrlib/ |
H A D | plot.rkt | 7 (define-struct data-set (points connected? pen min-x max-x min-y max-y)) 13 (struct data-set ((points (listof (is-a?/c point%))) 40 (send bc set-font font) 71 (my (apply min (map data-set-min-y data-sets))) 73 (My (apply max (map data-set-max-y data-sets))) 111 (let* ((p (transform-point (make-object point% mx y))) 160 (list (make-object point% mx y) 161 (make-object point% Mx y))))) 167 (send dc set-pen (data-set-pen data)) 170 (send dc draw-lines (map transform-point (data-set-points data)))) [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/unittests/Analysis/ |
H A D | PresburgerSetTest.cpp | 30 bool inS = s.containsPoint(point); in testUnionAtPoints() 31 bool inT = t.containsPoint(point); in testUnionAtPoints() 43 bool inS = s.containsPoint(point); in testIntersectAtPoints() 119 return set; in makeSetFromFACs() 155 for (unsigned y = -6; y <= 16; ++y) { in TEST() local 156 if (4 <= x + y && x + y <= 32 && 2 <= x - y && x - y <= 16) in TEST() 158 else if (2 <= x && x <= 10 && 2 <= y && y <= 10) in TEST() 574 EXPECT_TRUE(set.subtract(set).isEqual(emptySet)); in TEST() 576 EXPECT_TRUE(set.isEqual(set)); in TEST() 580 EXPECT_FALSE(set.unionSet(set.complement()).isEqual(set)); in TEST() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/unittests/Analysis/ |
H A D | PresburgerSetTest.cpp | 101 PresburgerSet set = PresburgerSet::getEmptySet(dims); in makeSetFromFACs() local 103 set.unionFACInPlace(fac); in makeSetFromFACs() 104 return set; in makeSetFromFACs() 140 for (unsigned y = -6; y <= 16; ++y) { in TEST() local 141 if (4 <= x + y && x + y <= 32 && 2 <= x - y && x - y <= 16) in TEST() 143 else if (2 <= x && x <= 10 && 2 <= y && y <= 10) in TEST() 152 PresburgerSet set = in TEST() local 161 testUnionAtPoints(PresburgerSet::getUniverse(1), set, in TEST() 165 testUnionAtPoints(PresburgerSet::getEmptySet(1), set, in TEST() 182 PresburgerSet set = in TEST() local [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/stark/visual/ |
H A D | actor.cpp | 146 verts[0].set(min.x(), min.y(), min.z()); in getBoundingRect() 147 verts[1].set(max.x(), min.y(), min.z()); in getBoundingRect() 148 verts[2].set(min.x(), max.y(), min.z()); in getBoundingRect() 149 verts[3].set(min.x(), min.y(), max.z()); in getBoundingRect() 150 verts[4].set(max.x(), max.y(), min.z()); in getBoundingRect() 151 verts[5].set(max.x(), min.y(), max.z()); in getBoundingRect() 152 verts[6].set(min.x(), max.y(), max.z()); in getBoundingRect() 153 verts[7].set(max.x(), max.y(), max.z()); in getBoundingRect() 161 boundingRect.top = point.y; in getBoundingRect() 162 boundingRect.bottom = point.y; in getBoundingRect() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/ |
H A D | transform.cc | 70 matrix_.set(0, 0, col1row1); in Transform() 71 matrix_.set(1, 0, col1row2); in Transform() 72 matrix_.set(0, 1, col2row1); in Transform() 73 matrix_.set(1, 1, col2row2); in Transform() 74 matrix_.set(0, 3, x_translation); in Transform() 75 matrix_.set(1, 3, y_translation); in Transform() 81 double y = q.y(); in Transform() local 204 skew.set(0, 1, TanDegrees(angle_x)); in Skew() 217 m.set(3, 2, -SK_Scalar1 / depth); in ApplyPerspectiveDepth() 544 SkScalar p[4] = {point->x(), point->y(), point->z(), 1}; in TransformPointInternal() [all …]
|