Home
last modified time | relevance | path

Searched refs:pi_over_180 (Results 1 – 25 of 68) sorted by relevance

123

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/docs/examples/
H A DColor_Wheel.cpp40 constexpr double pi_over_180 = 3.141592653589793 / 180; in draw_color_wheel() local
41 float x = (float)(0.3 * scale * v.radius * cos(pi_over_180 * v.angle) - bnds.centerX()); in draw_color_wheel()
42 float y = (float)(0.3 * scale * v.radius * sin(pi_over_180 * v.angle) - bnds.centerY()); in draw_color_wheel()
/dports/misc/vxl/vxl-3.3.2/core/vgl/algo/tests/
H A Dtest_h_matrix_3d.cxx217 45.0 * vnl_math::pi_over_180, 15.0 * vnl_math::pi_over_180, 10.0 * vnl_math::pi_over_180); in test_compute_linear_points()
316 45.0 * vnl_math::pi_over_180, 15.0 * vnl_math::pi_over_180, 10.0 * vnl_math::pi_over_180); in test_compute_affine_points()
/dports/misc/vxl/vxl-3.3.2/contrib/rpl/rgrl/examples/
H A Dregistration_range_data_blackbox.cxx179 double y_angle = 5*vnl_math::pi_over_180; in main()
185 double x_angle = 0*vnl_math::pi_over_180; in main()
191 double z_angle = 10*vnl_math::pi_over_180; in main()
H A Dregistration_retina_no_view.cxx169 double angular_std = 5.5*vnl_math::pi_over_180; in read_landmark_file()
170 double width_ratio_std = 4.5*vnl_math::pi_over_180; in read_landmark_file()
280 double angular_std = 5.5*vnl_math::pi_over_180; in main()
H A Dregistration_blackbox.cxx208 double angle = ci*2*vnl_math::pi_over_180; in generate_data()
209 double next_angle = (ci+1)*2*vnl_math::pi_over_180; in generate_data()
H A Dregistration_simple_shapes_outliers.cxx133 double angle = ci*2*vnl_math::pi_over_180; in generate_data()
134 double next_angle = (ci+1)*2*vnl_math::pi_over_180; in generate_data()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/brad/
H A Dbrad_sun_dir_index.cxx52 double az_rad = vnl_math::pi_over_180*sphere_az; in index()
53 double el_rad = vnl_math::pi_over_180*sphere_el; in index()
55 double half_ang = vnl_math::pi_over_180*cone_half_angle_; in index()
H A Dbrad_appearance_neighborhood_index.cxx18 double sun_sphere_az_rad = vnl_math::pi_over_180*sun_sphere_az; in brad_appearance_neighborhood_index()
19 double sun_sphere_el_rad = vnl_math::pi_over_180*sun_sphere_el; in brad_appearance_neighborhood_index()
32 double view_sphere_az_rad = vnl_math::pi_over_180*view_sphere_az; in brad_appearance_neighborhood_index()
33 double view_sphere_el_rad = vnl_math::pi_over_180*view_sphere_el; in brad_appearance_neighborhood_index()
H A Dbrad_calibration.cxx41 double sun_dot_norm = std::sin(md.sun_elevation_ * vnl_math::pi_over_180); in brad_radiometric_calibration_params()
161 double sun_dot_norm = std::sin(md.sun_elevation_ * vnl_math::pi_over_180); in brad_nitf_abs_radiometric_calibrate()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/volm/conf/
H A Dvolm_conf_score.cxx26 return theta_ / (float)vnl_math::pi_over_180; in theta_in_deg()
32 return (theta_ - (float)vnl_math::pi_over_2) / (float)vnl_math::pi_over_180; in theta_to_north()
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Core/SpatialObjects/test/
H A DitkImageMaskSpatialObjectTest2.cxx59 …tfm->SetRotation(30.0*itk::Math::pi_over_180,15.0*itk::Math::pi_over_180,10.0*itk::Math::pi_over_1… in itkImageMaskSpatialObjectTest2()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/brad_pro/processes/
H A Dbrad_estimate_radiance_values_process.cxx123 double sun_el_rads = sun_el * vnl_math::pi_over_180; in brad_estimate_radiance_values_process()
124 double sat_el_rads = sensor_el * vnl_math::pi_over_180; in brad_estimate_radiance_values_process()
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vimt/
H A Dvimt_rotate.h62 double c= std::cos(theta_90*vnl_math::pi_over_180); in vimt_rotate()
63 double s= std::sin(theta_90*vnl_math::pi_over_180); in vimt_rotate()
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/VNL/src/vxl/core/vnl/tests/
H A Dtest_quaternion.cxx61 vnl_vector_fixed<double,3> euler(rng.normal()*vnl_math::pi_over_180, in test_random_euler_near_zero()
62 rng.normal()*vnl_math::pi_over_180, in test_random_euler_near_zero()
63 rng.normal()*vnl_math::pi_over_180); in test_random_euler_near_zero()
/dports/misc/vxl/vxl-3.3.2/core/vnl/tests/
H A Dtest_quaternion.cxx66 …rng.normal() * vnl_math::pi_over_180, rng.normal() * vnl_math::pi_over_180, rng.normal() * vnl_mat… in test_random_euler_near_zero()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bapl/
H A Dbapl_mi_matcher.cxx103 double angle = params_.max_rotation_ang_*rand_double()*vnl_math::pi_over_180; in rand_transform()
106 double shear = std::tan(params_.max_shear_ang_*rand_double()*vnl_math::pi_over_180); in rand_transform()
/dports/misc/vxl/vxl-3.3.2/core/vpgl/
H A Dvpgl_earth_constants.h15 #define DEGREES_TO_RADIANS (vnl_math::pi_over_180)
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/volm/conf/tests/
H A Dtest_volm_conf_score.cxx29 …Testing angular value", score_sptr->theta_in_deg(), vnl_math::pi / vnl_math::pi_over_180, EPISLON); in test_volm_conf_score()
30 …lue to north", score_sptr->theta_to_north(), vnl_math::pi_over_2 / vnl_math::pi_over_180, EPISLON); in test_volm_conf_score()
H A Dtest_volm_conf_object.cxx21 float theta_in_deg = theta / vnl_math::pi_over_180; in test_volm_conf_object()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/view/
H A Dboxm2_trajectory.cxx14 #define RAD_FACTOR (vnl_math::pi_over_180) //radians per one degree
15 #define AZ_STEP (vnl_math::pi_over_180) //step around the volume is 1 degree
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/exe/
H A Dboxm2_estimate_uncertain_viewpoints.cxx170 el_incr = el_incr * vnl_math::pi_over_180; // radians in main()
173 double el = vnl_math::pi_over_180 * incline_0() - el_i * el_incr; in main()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/cpp/algo/
H A Dboxm2_compute_normal_albedo_functor.cxx66 double az = metadata_[m].sun_azimuth_ * vnl_math::pi_over_180; //convert to radians in init_data()
67 double el = metadata_[m].sun_elevation_ * vnl_math::pi_over_180; //convert to radians in init_data()
/dports/misc/vxl/vxl-3.3.2/core/vpgl/algo/
H A Dvpgl_ray.cxx323 double el_rad = elevation * vnl_math::pi_over_180; in rot_to_point_ray()
325 double az_rad = azimuth * vnl_math::pi_over_180; in rot_to_point_ray()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bpgl/algo/tests/
H A Dtest_heightmap_from_disparity.cxx17 double theta = vnl_math::pi_over_180 * 45.0; in test_heightmap_from_disparity_affine()
/dports/science/InsightToolkit/ITK-5.0.1/Utilities/ITKv5Preparation/
H A Dreplace_vnl_math_XXX.sh35 …for itkMath_constants in e log2e log10e ln2 ln10 pi twopi pi_over_2 pi_over_4 pi_over_180 one_over…

123