/dports/misc/vxl/vxl-3.3.2/contrib/rpl/rgrl/ |
H A D | rgrl_est_translation.cxx | 65 vnl_vector<double> to_pt( m ); in estimate() local 78 to_pt = ti.to_feature()->location(); in estimate() 79 to_pt *= wgt; in estimate() 80 to_centre += to_pt; in estimate() 103 to_pt = ti.to_feature()->location(); in estimate() 104 to_pt -= to_centre; in estimate() 109 assert ( to_pt.size() == m ); in estimate() 119 Bq = to_pt.pre_multiply( B ); in estimate()
|
H A D | rgrl_est_similarity2d.cxx | 77 vnl_vector_fixed<double, 2> to_pt; in estimate() local 93 to_pt = ti.to_feature()->location(); in estimate() 94 to_pt *= wgt; in estimate() 95 to_centre += to_pt; in estimate() 118 to_pt = ti.to_feature()->location(); in estimate() 119 to_pt -= to_centre; in estimate() 124 assert( to_pt.size() == m ); in estimate() 140 DtBq = DtB * to_pt; in estimate()
|
H A D | rgrl_est_reduced_quad2d.cxx | 85 vnl_vector_fixed<double, 2> to_pt; in estimate() local 97 to_pt = ti.to_feature()->location(); in estimate() 98 to_pt *= wgt; in estimate() 99 to_centre += to_pt; in estimate() 124 to_pt = ti.to_feature()->location(); in estimate() 125 to_pt -= to_centre; in estimate() 130 assert( to_pt.size() == m ); in estimate() 149 DtBq = DtB * to_pt; in estimate()
|
H A D | rgrl_est_rigid.cxx | 94 vnl_vector<double> to_pt( m ); in estimate() local 103 to_pt = ti.to_feature()->location(); in estimate() 109 assert( to_pt.size() == m ); in estimate() 118 vnl_vector<double> f(to_pt); in estimate() 346 vnl_vector<double> to_pt( m ); in determine_covariance() local 360 to_pt = ti.to_feature()->location(); in determine_covariance() 371 inner_product ((t - to_pt), B * d2Rdtheta2 * from_pt) + in determine_covariance() 375 inner_product ((t - to_pt), B * d2Rdalpha2 * from_pt) + in determine_covariance() 379 inner_product ((t - to_pt), B * d2Rdphi2 * from_pt) + in determine_covariance() 388 inner_product ((t - to_pt), B * d2Rdphidtheta * from_pt) + in determine_covariance() [all …]
|
H A D | rgrl_est_affine.cxx | 88 vnl_vector<double> to_pt( m ); in estimate() local 99 to_pt = ti.to_feature()->location(); in estimate() 100 to_pt *= wgt; in estimate() 101 to_centre += to_pt; in estimate() 126 to_pt = ti.to_feature()->location(); in estimate() 127 to_pt -= to_centre; in estimate() 132 assert ( to_pt.size() == m ); in estimate() 166 Bq = B * to_pt; in estimate()
|
H A D | rgrl_estimator.cxx | 46 vnl_vector<double> to_pt; in rgrl_est_compute_weighted_centres() local 78 to_pt = ti.to_feature()->location(); in rgrl_est_compute_weighted_centres() 79 to_pt *= wgt; in rgrl_est_compute_weighted_centres() 80 to_centre += to_pt; in rgrl_est_compute_weighted_centres()
|
H A D | rgrl_est_quadratic.cxx | 88 vnl_vector<double> to_pt( m ); in estimate() local 98 to_pt = ti.to_feature()->location(); in estimate() 99 to_pt *= wgt; in estimate() 100 to_centre += to_pt; in estimate() 127 to_pt = ti.to_feature()->location(); in estimate() 128 to_pt -= to_centre; in estimate() 133 assert( to_pt.size() == m ); in estimate() 184 Bq = B * to_pt; in estimate()
|
H A D | rgrl_est_homography2d.cxx | 127 vnl_vector<double> to_pt( 2 ); in normalize() local 137 to_pt = ti.to_feature()->location(); in normalize() 138 to_center += to_pt * wgt; in normalize() 165 to_pt = ti.to_feature()->location(); in normalize() 167 wgt * std::sqrt( vnl_math::sqr( to_pt[0] - to_center[0] ) + in normalize() 168 vnl_math::sqr( to_pt[1] - to_center[1] ) ); in normalize()
|
/dports/cad/horizon-eda/horizon-2.1.0/src/export_pdf/ |
H A D | export_pdf_board.cpp | 40 auto page = document.CreatePage(PoDoFo::PdfRect(0, 0, to_pt(width), to_pt(height))); in export_pdf() 47 painter.SetTransformationMatrix(-1, 0, 0, 1, to_pt(bbox.second.x + border_width), in export_pdf() 48 to_pt(-bbox.first.y + border_width)); in export_pdf() 51 painter.SetTransformationMatrix(1, 0, 0, 1, to_pt(-bbox.first.x + border_width), in export_pdf() 52 to_pt(-bbox.first.y + border_width)); in export_pdf()
|
H A D | canvas_pdf.cpp | 86 font.SetFontSize(to_pt(size) * 1.6); in img_draw_text() 127 …ransformationMatrix(cos(fangle), sin(fangle), -sin(fangle), cos(fangle), to_pt(pt.x), to_pt(pt.y)); in img_draw_text() 232 const auto r = to_pt((start - c).mag()); in pdf_arc() 233 const auto ctr = Coordd(to_pt(c.x), to_pt(c.y)); in pdf_arc()
|
H A D | export_pdf_util.cpp | 43 … to_pt((double)pic.placement.shift.x), to_pt((double)pic.placement.shift.y)); in render_picture()
|
H A D | export_pdf.cpp | 56 …auto page = document.CreatePage(PoDoFo::PdfRect(0, 0, to_pt(sheet->frame.width), to_pt(sheet->fram… in export_pdf()
|
H A D | canvas_pdf.hpp | 12 template <typename T> static T to_pt(T x) in to_pt() function
|
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/test/ |
H A D | test_fitellipse.cpp | 13 Point2f to_pt = pt - el.center; in check_pt_in_ellipse() local 14 double pt_angle = atan2(to_pt.y, to_pt.x); in check_pt_in_ellipse() 19 return cv::norm(to_pt) < el_dist; in check_pt_in_ellipse()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/widgetry/src/widgets/ |
H A D | slider.rs | 130 .contains_pt(pt.to_pt()); in set_percent() 162 .contains_pt(pt.to_pt()); in inner_event() 178 .contains_pt(pt.to_pt()) in inner_event() 309 .contains_pt(pt.to_pt()); in set_percent() 335 .contains_pt(pt.to_pt()); in inner_event() 351 .contains_pt(pt.to_pt()) in inner_event()
|
H A D | compare_times.rs | 154 if let Some(l) = geom::Line::new(Pt2D::new(rect.x1, cursor.y), cursor.to_pt()) { in draw() 158 if let Some(l) = geom::Line::new(Pt2D::new(cursor.x, rect.y2), cursor.to_pt()) { in draw()
|
H A D | just_draw.rs | 106 ScreenPt::new(cursor.x - self.top_left.x, cursor.y - self.top_left.y).to_pt(); in draw()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/debug/ |
H A D | polygons.rs | 114 .centered_on(g.canvas.map_to_screen(*pt).to_pt()), in draw() 123 .centered_on(g.canvas.map_to_screen(*pt).to_pt()), in draw() 134 .centered_on(g.canvas.map_to_screen(poly.center()).to_pt()), in draw() 143 .centered_on(g.canvas.map_to_screen(pt).to_pt()), in draw()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/make/ |
H A D | turns.rs | 233 to_pt(src.last_pt()), in curvey_turn() 234 to_pt(src_line.unbounded_dist_along(src_line.length() + Distance::meters(5.0))), in curvey_turn() 235 to_pt(dst_line.unbounded_dist_along(dst_line.length() + Distance::meters(5.0))), in curvey_turn() 236 to_pt(dst.first_pt()), in curvey_turn() 252 fn to_pt(pt: Pt2D) -> Point2d<f64> { in to_pt() function
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/widgetry/src/ |
H A D | canvas.rs | 153 let cursor_screen_pt = self.get_cursor().to_pt(); in handle_event() 162 let center_pt = self.center_to_screen_pt().to_pt(); in handle_event() 260 b.update(ScreenPt::new(PANNING_THRESHOLD, PANNING_THRESHOLD).to_pt()); in get_inner_bounds() 266 .to_pt(), in get_inner_bounds()
|
H A D | screen_geom.rs | 19 pub fn to_pt(self) -> Pt2D { in to_pt() method
|
/dports/math/gismo/gismo-21.12.0/external/onurbs/ |
H A D | opennurbs_line.cpp | 25 ON_Line::ON_Line( const ON_3dPoint& from_pt, const ON_3dPoint& to_pt ) in ON_Line() argument 26 : from(from_pt), to(to_pt) in ON_Line() 43 bool ON_Line::Create( const ON_3dPoint& from_pt, const ON_3dPoint& to_pt ) in Create() argument 46 to = to_pt; in Create()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/src/3rdparty/opennurbs/ |
H A D | opennurbs_line.cpp | 25 ON_Line::ON_Line( const ON_3dPoint& from_pt, const ON_3dPoint& to_pt ) in ON_Line() argument 26 : from(from_pt), to(to_pt) in ON_Line() 43 bool ON_Line::Create( const ON_3dPoint& from_pt, const ON_3dPoint& to_pt ) in Create() argument 46 to = to_pt; in Create()
|
/dports/cad/horizon-eda/horizon-2.1.0/src/canvas/ |
H A D | drag_selection.cpp | 396 static ClipperLib::IntPoint to_pt(const Coordf &p) in to_pt() function 460 clbox.at(0) = to_pt(sel_center + sz1); in update() 461 clbox.at(1) = to_pt(sel_center + sz2); in update() 462 clbox.at(2) = to_pt(sel_center - sz1); in update() 463 clbox.at(3) = to_pt(sel_center - sz2); in update()
|
/dports/graphics/tgif/tgif-QPL-4.2.5/ |
H A D | imgproc.c | 6439 IntPoint to_pt; local 6456 to_pt.x = pFromPt->x+dx; 6457 to_pt.y = pFromPt->y+dy; 6498 to_pt.x = round(x_intersect); 6541 ddx = (double)(to_pt.x - pFromPt->x); 6542 ddy = (double)(to_pt.y - pFromPt->y); 6675 IntPoint to_pt; local 6947 IntPoint from_pt, to_pt; in VectorWarp() local 6953 memset(&to_pt, 0, sizeof(IntPoint)); in VectorWarp() 6957 ok = SpecifyLineSeg(&from_pt.x, &from_pt.y, &to_pt.x, &to_pt.y); in VectorWarp() [all …]
|