/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/docs/examples/ |
H A D | Color_Wheel.cpp | 40 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 D | test_h_matrix_3d.cxx | 217 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 D | registration_range_data_blackbox.cxx | 179 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 D | registration_retina_no_view.cxx | 169 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 D | registration_blackbox.cxx | 208 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 D | registration_simple_shapes_outliers.cxx | 133 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 D | brad_sun_dir_index.cxx | 52 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 D | brad_appearance_neighborhood_index.cxx | 18 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 D | brad_calibration.cxx | 41 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 D | volm_conf_score.cxx | 26 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 D | itkImageMaskSpatialObjectTest2.cxx | 59 …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 D | brad_estimate_radiance_values_process.cxx | 123 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 D | vimt_rotate.h | 62 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 D | test_quaternion.cxx | 61 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 D | test_quaternion.cxx | 66 …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 D | bapl_mi_matcher.cxx | 103 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 D | vpgl_earth_constants.h | 15 #define DEGREES_TO_RADIANS (vnl_math::pi_over_180)
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/volm/conf/tests/ |
H A D | test_volm_conf_score.cxx | 29 …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 D | test_volm_conf_object.cxx | 21 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 D | boxm2_trajectory.cxx | 14 #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 D | boxm2_estimate_uncertain_viewpoints.cxx | 170 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 D | boxm2_compute_normal_albedo_functor.cxx | 66 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 D | vpgl_ray.cxx | 323 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 D | test_heightmap_from_disparity.cxx | 17 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 D | replace_vnl_math_XXX.sh | 35 …for itkMath_constants in e log2e log10e ln2 ln10 pi twopi pi_over_2 pi_over_4 pi_over_180 one_over…
|