/dports/misc/vxl/vxl-3.3.2/core/vgl/ |
H A D | vgl_box_3d.hxx | 73 min_pos_[0]=ref_point[0]; in vgl_box_3d() 74 min_pos_[1]=ref_point[1]; in vgl_box_3d() 75 min_pos_[2]=ref_point[2]; in vgl_box_3d() 76 max_pos_[0]=ref_point[0]+w; in vgl_box_3d() 77 max_pos_[1]=ref_point[1]+h; in vgl_box_3d() 85 max_pos_[0]=ref_point[0]; in vgl_box_3d() 86 max_pos_[1]=ref_point[1]; in vgl_box_3d() 87 max_pos_[2]=ref_point[2]; in vgl_box_3d() 109 min_pos_[0]=ref_point.x(); in vgl_box_3d() 110 min_pos_[1]=ref_point.y(); in vgl_box_3d() [all …]
|
H A D | vgl_box_2d.hxx | 67 min_pos_[0]=ref_point[0]; in vgl_box_2d() 68 min_pos_[1]=ref_point[1]; in vgl_box_2d() 69 max_pos_[0]=ref_point[0]+w; in vgl_box_2d() 70 max_pos_[1]=ref_point[1]+h; in vgl_box_2d() 74 min_pos_[0]=ref_point[0]-w; in vgl_box_2d() 76 max_pos_[0]=ref_point[0]; in vgl_box_2d() 77 max_pos_[1]=ref_point[1]; in vgl_box_2d() 97 min_pos_[0]=ref_point.x(); in vgl_box_2d() 98 min_pos_[1]=ref_point.y(); in vgl_box_2d() 106 max_pos_[0]=ref_point.x(); in vgl_box_2d() [all …]
|
/dports/graphics/R-cran-s2/s2/src/s2/ |
H A D | s2shapeutil_contains_brute_force.cc | 28 S2Shape::ReferencePoint ref_point = shape.GetReferencePoint(); in ContainsBruteForce() local 29 if (ref_point.point == point) return ref_point.contained; in ContainsBruteForce() 31 S2CopyingEdgeCrosser crosser(ref_point.point, point); in ContainsBruteForce() 32 bool inside = ref_point.contained; in ContainsBruteForce()
|
/dports/graphics/s2/s2geometry-0.9.0/src/s2/ |
H A D | s2shapeutil_contains_brute_force.cc | 28 S2Shape::ReferencePoint ref_point = shape.GetReferencePoint(); in ContainsBruteForce() local 29 if (ref_point.point == point) return ref_point.contained; in ContainsBruteForce() 31 S2CopyingEdgeCrosser crosser(ref_point.point, point); in ContainsBruteForce() 32 bool inside = ref_point.contained; in ContainsBruteForce()
|
/dports/graphics/py-s2/s2geometry-0.9.0/src/s2/ |
H A D | s2shapeutil_contains_brute_force.cc | 28 S2Shape::ReferencePoint ref_point = shape.GetReferencePoint(); in ContainsBruteForce() local 29 if (ref_point.point == point) return ref_point.contained; in ContainsBruteForce() 31 S2CopyingEdgeCrosser crosser(ref_point.point, point); in ContainsBruteForce() 32 bool inside = ref_point.contained; in ContainsBruteForce()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/System.Web/ |
H A D | IntPtrStream.cs | 173 int ref_point; in Seek() 178 ref_point = 0; in Seek() 181 ref_point = position; in Seek() 184 ref_point = size; in Seek() 192 ref_point += (int) offset; in Seek() 197 if (ref_point < 0) in Seek() 201 position = ref_point; in Seek()
|
/dports/science/py-pygmo2/pygmo2-2.18.0/doc/tutorials/ |
H A D | zdt3_maco_benchmark.rst | 36 ... ref_point=hv.refpoint(offset=0.01) 88 ... hv_moead[0]=hypervolume(pop_1).compute(ref_point) 93 ... hv_maco[0]=hypervolume(pop_2).compute(ref_point) 98 ... hv_nsga2[0]=hypervolume(pop_3).compute(ref_point) 105 ... hv_moead[1]=hypervolume(pop_1).compute(ref_point) 107 ... hv_moead[1]=hypervolume(pop_1).compute(ref_point) 112 ... hv_maco[1]=hypervolume(pop_2).compute(ref_point) 117 ... hv_nsga2[1]=hypervolume(pop_3).compute(ref_point) 124 ... hv_moead[2]=hypervolume(pop_1).compute(ref_point) 129 ... hv_maco[2]=hypervolume(pop_2).compute(ref_point) [all …]
|
H A D | hypervolume.rst | 95 >>> ref_point = [2,2] 96 >>> hv.compute(ref_point) 112 >>> # hv and ref_point refer to the data above 113 >>> hv.compute(ref_point) 122 >>> # hv and ref_point refer to the data above 123 >>> hv.exclusive(1, ref_point) 125 >>> hv.exclusive(3, ref_point) 155 >>> # hv and ref_point refer to the data above 175 >>> ref_point = hv.refpoint(offset = 0.1) 176 >>> hv.compute(ref_point) # doctest: +SKIP [all …]
|
/dports/science/pagmo2/pagmo2-2.18.0/tests/ |
H A D | multi_objective.cpp | 388 vector_double ref_point{0., 0.}; in BOOST_AUTO_TEST_CASE() local 390 auto fw = decompose_objectives(f, weight, ref_point, "weighted")[0]; in BOOST_AUTO_TEST_CASE() 391 auto ft = decompose_objectives(f, weight, ref_point, "tchebycheff")[0]; in BOOST_AUTO_TEST_CASE() 392 auto fb = decompose_objectives(f, weight, ref_point, "bi")[0]; in BOOST_AUTO_TEST_CASE() 395 …_CHECK_CLOSE(std::max(weight[0] * std::abs(f[0] - ref_point[0]), weight[1] * std::abs(f[1] - ref_p… in BOOST_AUTO_TEST_CASE() 399 double d1 = (f[0] - ref_point[0]) * ilambda[0] + (f[1] - ref_point[1]) * ilambda[1]; in BOOST_AUTO_TEST_CASE() 400 double d20 = f[0] - (ref_point[0] + d1 * ilambda[0]); in BOOST_AUTO_TEST_CASE() 401 double d21 = f[1] - (ref_point[1] + d1 * ilambda[1]); in BOOST_AUTO_TEST_CASE() 408 …BOOST_CHECK_THROW(decompose_objectives(f, {1., 2., 3., 4.}, ref_point, "weighted"), std::invalid_a… in BOOST_AUTO_TEST_CASE() 410 BOOST_CHECK_THROW(decompose_objectives(f, weight, ref_point, "pippo"), std::invalid_argument); in BOOST_AUTO_TEST_CASE()
|
/dports/science/cgnslib/CGNS-4.1.2/src/examples/fortran/Test_Axisym/ |
H A D | cgread.F90 | 23 real*4 version, ref_point(Ndim), axis(Ndim), angle variable 74 call cg_axisym_read_f(cg, base, ref_point, axis, ier) 77 write(6,110)'ref_point=',ref_point(1),ref_point(2) 158 call cg_array_read_f(iarray, ref_point, ier) 169 write(6,106)' ref_point=',(ref_point(i),i=1,2)
|
H A D | cgwrite.F | 19 real*4 ref_point(Ndim), axis(Ndim), angle variable 49 ref_point(i)=0 53 call cg_axisym_write_f(cg, base_no, ref_point, axis, ier)
|
H A D | cgmodify.F | 18 real*4 ref_point(Ndim), axis(Ndim), angle variable 62 ref_point(i)=0 66 call cg_axisym_write_f(cg, base_no, ref_point, axis, ier)
|
/dports/graphics/openorienteering-mapper/mapper-0.9.2/test/ |
H A D | georef_ocd_mapping_t.cpp | 56 QPointF ref_point; member 68 && lhs.ref_point == rhs.ref_point 83 .arg(r.ref_point.x(), 0, 'f', 8) in toString() 84 .arg(r.ref_point.y(), 0, 'f', 8) in toString() 269 georef.setProjectedRefPoint(georef_result.ref_point, false); in testMapperToOcd()
|
/dports/science/cdo/cdo-2.0.0/src/lib/yac/ |
H A D | intersection.c | 426 double * ref_point = (fabs_a_2 > fabs_b_2)?b:a; in yac_loncxlonc_vec() local 428 if (fabs(ref_point[2]) > 1.0-tol) { in yac_loncxlonc_vec() 433 double scale = 1.0 / sqrt(ref_point[0]*ref_point[0] + in yac_loncxlonc_vec() 434 ref_point[1]*ref_point[1]); in yac_loncxlonc_vec() 435 abs_norm_cross_ab[0] = ref_point[1] * scale; in yac_loncxlonc_vec() 436 abs_norm_cross_ab[1] = ref_point[0] * scale; in yac_loncxlonc_vec() 450 ref_point = (fabs_c_2 > fabs_d_2)?d:c; in yac_loncxlonc_vec() 452 if (fabs(ref_point[2]) > 1.0-tol) { in yac_loncxlonc_vec() 457 double scale = 1.0 / sqrt(ref_point[0]*ref_point[0] + in yac_loncxlonc_vec() 458 ref_point[1]*ref_point[1]); in yac_loncxlonc_vec() [all …]
|
/dports/cad/openscad/openscad-41f58fe57c03457a3a8b4dc541ef5654ec3e8c78/src/ |
H A D | dxfdata.cc | 463 const auto &ref_point = this->points[lines[current_line].idx[!current_point]]; in DxfData() local 466 auto lv = grid.data(ref_point[0], ref_point[1]); in DxfData() 470 …if (grid.eq(ref_point[0], ref_point[1], this->points[lines[k].idx[0]][0], this->points[lines[k].id… in DxfData() 475 …if (grid.eq(ref_point[0], ref_point[1], this->points[lines[k].idx[1]][0], this->points[lines[k].id… in DxfData() 498 const auto &ref_point = this->points[lines[current_line].idx[!current_point]]; in DxfData() local 501 auto lv = grid.data(ref_point[0], ref_point[1]); in DxfData() 505 …if (grid.eq(ref_point[0], ref_point[1], this->points[lines[k].idx[0]][0], this->points[lines[k].id… in DxfData() 510 …if (grid.eq(ref_point[0], ref_point[1], this->points[lines[k].idx[1]][0], this->points[lines[k].id… in DxfData()
|
/dports/cad/openscad-devel/openscad-63a7c77740030c63d646eb0684ba6947eecb0db7/src/ |
H A D | dxfdata.cc | 463 const auto &ref_point = this->points[lines[current_line].idx[!current_point]]; in DxfData() local 466 auto lv = grid.data(ref_point[0], ref_point[1]); in DxfData() 470 …if (grid.eq(ref_point[0], ref_point[1], this->points[lines[k].idx[0]][0], this->points[lines[k].id… in DxfData() 475 …if (grid.eq(ref_point[0], ref_point[1], this->points[lines[k].idx[1]][0], this->points[lines[k].id… in DxfData() 498 const auto &ref_point = this->points[lines[current_line].idx[!current_point]]; in DxfData() local 501 auto lv = grid.data(ref_point[0], ref_point[1]); in DxfData() 505 …if (grid.eq(ref_point[0], ref_point[1], this->points[lines[k].idx[0]][0], this->points[lines[k].id… in DxfData() 510 …if (grid.eq(ref_point[0], ref_point[1], this->points[lines[k].idx[1]][0], this->points[lines[k].id… in DxfData()
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Intersections_3/internal/ |
H A D | bbox_intersection_3.h | 157 Point_3 ref_point = Point_3( FT(lpx), FT(lpy), FT(lpz)); in intersection_bl() local 161 return result_type(ref_point + dir * FT(seg_max)); in intersection_bl() 164 Segment_3(ref_point + dir*FT(seg_min), ref_point + dir*FT(seg_max))); in intersection_bl()
|
/dports/science/pagmo2/pagmo2-2.18.0/src/utils/ |
H A D | hypervolume.cpp | 168 vector_double ref_point(m_points[0].begin(), m_points[0].end()); in refpoint() local 172 ref_point[f_idx] = std::max(ref_point[f_idx], m_points[idx][f_idx]); in refpoint() 176 for (auto &c : ref_point) { in refpoint() 180 return ref_point; in refpoint()
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/ |
H A D | qs_loc_dipole.F | 77 REAL(KIND=dp), DIMENSION(:), POINTER :: ref_point local 89 NULLIFY (cell, particle_set, qs_kind_set, ref_point, results) 97 CALL section_vals_val_get(print_key, "REF_POINT", r_vals=ref_point) 101 CALL get_reference_point(rcc, qs_env=qs_env, reference=reference, ref_point=ref_point)
|
H A D | qs_moments.F | 256 rc(:) = ref_point(:) 476 rc(:) = ref_point(:) 777 rc(:) = ref_point(:) 1356 CALL get_reference_point(rcc, qs_env=qs_env, reference=reference, ref_point=ref_point) 1806 CALL get_reference_point(rcc, qs_env=qs_env, reference=reference, ref_point=ref_point) 2426 matrix_rrv=matrix_rrv, ref_point=ref_point, cell=cell) 2429 matrix_rxrv=matrix_rxrv, ref_point=ref_point, cell=cell) 2432 matrix_rrv=matrix_rrv, ref_point=ref_point, cell=cell) 2438 ref_point=ref_point, cell=cell) 2441 ref_point=ref_point, cell=cell) [all …]
|
/dports/science/cp2k-data/cp2k-7.1.0/src/ |
H A D | qs_loc_dipole.F | 77 REAL(KIND=dp), DIMENSION(:), POINTER :: ref_point local 89 NULLIFY (cell, particle_set, qs_kind_set, ref_point, results) 97 CALL section_vals_val_get(print_key, "REF_POINT", r_vals=ref_point) 101 CALL get_reference_point(rcc, qs_env=qs_env, reference=reference, ref_point=ref_point)
|
H A D | fist_efield_methods.F | 207 REAL(KIND=dp), DIMENSION(:), POINTER :: ref_point local 214 NULLIFY (ref_point) 216 CALL section_vals_val_get(print_section, "DIPOLE%REF_POINT", r_vals=ref_point) 223 … CALL get_reference_point(rcc, drcc, fist_env=fist_env, reference=reference, ref_point=ref_point)
|
/dports/math/openturns/openturns-1.18/python/test/ |
H A D | t_RandomVector_constant.py | 12 ref_point = point variable 19 print("point = ", repr(ref_point))
|
/dports/archivers/arj/arj-3.10.22/ |
H A D | exe_sear.c | 111 unsigned long ref_point; in get_exe_size() local 133 ref_point=shdr.sh_offset+shdr.sh_size; in get_exe_size() 135 if(ref_point>result&&shdr.sh_type!=SHT_NOBITS) in get_exe_size() 136 result=ref_point; in get_exe_size()
|
/dports/math/openturns/openturns-1.18/lib/test/ |
H A D | t_RandomVector_constant.cxx | 37 const Point & ref_point(point); in main() local 44 fullprint << "point = " << ref_point << std::endl; in main()
|