/dports/math/saga/saga-8.1.3/saga-gis/src/tools/terrain_analysis/ta_lighting/ |
H A D | HillShade.cpp | 367 double d = M_PI_090 - Slope; in Get_Shading() 371 if( bDelimit && d > M_PI_090 ) in Get_Shading() 373 d = M_PI_090; in Get_Shading() 378 d *= Slope / M_PI_090; in Get_Shading() 487 m_pShade->Set_Value(ix, iy, M_PI_090); in Set_Shadow_Trace() 495 m_pShade->Set_Value(xx, iy, M_PI_090); in Set_Shadow_Trace() 505 m_pShade->Set_Value(ix, yy, M_PI_090); in Set_Shadow_Trace() 530 Directions[i].x = sin(Directions[i].z - M_PI_090); in AmbientOcclusion() 531 Directions[i].y = cos(Directions[i].z - M_PI_090); in AmbientOcclusion() 556 Directions[i].z = sin((M_PI_090 * j) / (iDirs / 4.0)); in AmbientOcclusion()
|
H A D | Visibility_BASE.cpp | 87 pVisibility->Assign(M_PI_090); in Initialize() 143 decDTM = M_PI_090 - atan(Exaggeration * tan(decDTM)); in Set_Visibility() 150 if( d > M_PI_090 ) in Set_Visibility() 151 d = M_PI_090; in Set_Visibility() 247 Parameters.Add_Range("", "METRIC_ZRANGE", SG_T(""), SG_T(""), 0.0, M_PI_090); in Finalize()
|
H A D | topographic_openness.cpp | 253 Pos = M_PI_090 - Pos; in On_Execute() 254 Neg = M_PI_090 - Neg; in On_Execute() 337 Pos += M_PI_090 - atan(Max[i]); in Get_Openness() 338 Neg += M_PI_090 + atan(Min[i]); in Get_Openness()
|
H A D | view_shed.cpp | 317 Sky_Visible += (M_PI_090 - Phi) * 100.0 / M_PI_090; in Get_View_Shed() 318 …Sky_Factor += cosSlope * cosPhi*cosPhi + sinSlope * cos(m_Direction[i].z - Aspect) * ((M_PI_090 - … in Get_View_Shed()
|
H A D | topographic_correction.cpp | 379 m_cosTz = cos(M_PI_090 - Hgt); in Get_Illumination() 380 m_sinTz = sin(M_PI_090 - Hgt); in Get_Illumination()
|
H A D | geomorphons.cpp | 303 double phi = M_PI_090 - atan(Max[i]); in Get_Geomorphon() 304 double psi = M_PI_090 + atan(Min[i]); in Get_Geomorphon()
|
H A D | SolarRadiation.cpp | 864 return( 1.0 / cos(M_PI_090 - Sun_Height) ); in Get_Air_Mass() 885 …: cos(Slope) * cos(Sun_Height - M_PI_090) + sin(Slope) * sin(M_PI_090 - Sun_Height) * cos(Sun_Azim… in Get_Irradiance()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/terrain_analysis/ta_hydrology/ |
H A D | Flow_RecursiveDown.cpp | 61 #define GET_OUTLET_DIAG__1(in, angle) (1. - (1. - in) * tan(M_PI_090 - angle)) 65 #define GET_OUTLET_CROSS_2(in, angle) (in - tan(M_PI_090 - angle)) 187 m_Dir.Set_Value(x, y, ((int)(Aspect / M_PI_090) % 4) * 2); in On_Initialize() 188 m_Dif.Set_Value(x, y, fmod(Aspect, M_PI_090)); in On_Initialize() 345 dif = 0.5 - tan(M_PI_090 - dif) / 2.; in KRA_Start() 402 if( from < tan(M_PI_090 - dif) ) // 1. to the top... in KRA_Trace() 463 flow_A = tan(M_PI_090 - dif) / 2.; in DEMON_Start() 587 if( from_B <= tan(M_PI_090 - dif) ) // 1. completely to the top... in DEMON_Trace() 600 else if( from_A > tan(M_PI_090 - dif) ) // 2. completely to the right... in DEMON_Trace() 618 dif = tan(M_PI_090 - dif); in DEMON_Trace()
|
H A D | flow_massflux.cpp | 273 dif = A != 0.0 ? M_PI_180 + atan2(B, A) : (B > 0.0 ? M_PI_270 : (B < 0.0 ? M_PI_090 : -1.0)); in Set_Flow() 280 dif = fmod(dif + M_PI_090 * Direction, M_PI_360); in Set_Flow() 309 dir = (int)(dif / M_PI_090); in Set_Flow() 311 dif = dif - dir * M_PI_090; in Set_Flow() 320 dif = dif < M_PI_045 ? 1.0 - tan(dif) / 2.0 : tan(M_PI_090 - dif) / 2.0; in Set_Flow()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/shapes/shapes_tools/ |
H A D | beachball.cpp | 312 double Azimuth = M_PI_090 + atan2(Normal[1], Normal[0]); in Get_Plane() 314 if( Slope > M_PI_090 ) in Get_Plane() 317 Slope = M_PI_090 - (Slope - M_PI_090); in Get_Plane() 322 A.x = sin(Azimuth - M_PI_090); // strike in Get_Plane() 323 A.y = cos(Azimuth - M_PI_090); in Get_Plane() 325 if( Slope < M_PI_090 ) in Get_Plane()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/terrain_analysis/ta_morphometry/ |
H A D | Convergence.cpp | 204 Aspect = M_PI_090; in Get_2x2_Gradient() 220 for(i=0, n=0, dSum=0., iAspect=-M_PI_135; i<4; i++, iAspect+=M_PI_090) in Get_2x2() 248 return( n > 0 ? (dSum / (double)n - M_PI_090) * 100. / M_PI_090 : 0. ); in Get_2x2() 293 return( n > 0 ? (dSum / (double)n - M_PI_090) * 100. / M_PI_090 : 0. ); in Get_9x9()
|
H A D | Convergence_Radius.cpp | 161 …m_Direction[i] = y != 0 ? (M_PI_180 + atan2((double)x, (double)y)) : (x > 0 ? M_PI_270 : M_PI_090); in On_Execute() 260 Convergence = (s.Get_Mean() - M_PI_090) * 100. / M_PI_090; in Get_Convergence()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/grid/grid_calculus/ |
H A D | gradient_cartes_polar.cpp | 122 Zero = M_PI_090; in On_Execute() 153 DIR = DY != 0.0 ? fmod(M_PI_360 + atan2(DX, DY), M_PI_360) : DX < 0.0 ? M_PI_270 : M_PI_090; in On_Execute() 260 Zero = M_PI_090; in On_Execute()
|
H A D | Fuzzify.cpp | 243 case 1: Value = pow(sin(dX / dW * M_PI_090), 2.0); break; in On_Execute()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/saga_core/saga_gui/ |
H A D | wksp_shapes_point.cpp | 935 double Azimuth = M_PI_090 + atan2(Normal[1], Normal[0]); in _Beachball_Get_Plane() 937 if( Slope > M_PI_090 ) in _Beachball_Get_Plane() 940 Slope = M_PI_090 - (Slope - M_PI_090); in _Beachball_Get_Plane() 945 A.x = sin(Azimuth - M_PI_090); // strike in _Beachball_Get_Plane() 946 A.y = cos(Azimuth - M_PI_090); in _Beachball_Get_Plane() 948 if( Slope < M_PI_090 ) in _Beachball_Get_Plane()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/grid/grid_visualisation/ |
H A D | Grid_3D_Image.cpp | 467 angle = M_PI_090 * ((y - yOffset) / (double)yRange); in _Get_Panorama() 469 …z = z * (m_ZExagg_Min + (1.0 - m_ZExagg_Min) * (angle > M_PI_090 ? 0.0 : 0.5 + 0.5 * cos(2.0 * an… in _Get_Panorama() 478 _Get_Rotated(y, y, -(1.0 / M_PI_090) * yRange, z, angle); in _Get_Panorama() 489 angle = M_PI_090 * (y / (double)m_pRGB->Get_NY()); in _Get_Circle() 491 …z = z * (m_ZExagg_Min + (1.0 - m_ZExagg_Min) * (angle > M_PI_090 ? 0.0 : 0.5 + 0.5 * cos(2.0 * an… in _Get_Circle() 495 _Get_Rotated(y, y, -(1.0 / M_PI_090) * m_pRGB->Get_NY(), z, angle); in _Get_Circle()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/grid/grid_calculus_bsl/ |
H A D | vector.cpp | 165 if (x == 0.0f || y > 0.0f) return double(M_PI_090); in Angle() 166 if (x == 0.0f || y < 0.0f) return double(-M_PI_090); in Angle() 316 if (x == 0.0f || y > 0.0f) return double(M_PI_090); in Angle_Phi() 317 if (x == 0.0f || y < 0.0f) return double(-M_PI_090); in Angle_Phi()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/projection/pj_proj4/ |
H A D | crs_indicatrix.cpp | 137 m_Circle.Add(sin(M_PI_090), cos(M_PI_090)); in On_Execute_Transformation()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/garden/garden_fractals/ |
H A D | Pythagoras_Tree.cpp | 228 var_Range = Size * M_PI_090; in Set_Quadrat() 235 var_Range = (1.0 - Size) * M_PI_090; in Set_Quadrat()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/tin/tin_viewer/ |
H A D | tin_view_dialog.cpp | 124 …pSlide_Light_Hgt = Add_Slider (_TL("Light Source A") , m_pView->m_Light_Hgt, -M_PI_090, M_PI_090); in BEGIN_EVENT_TABLE()
|
H A D | tin_view_control.cpp | 767 a = B > 0.0 ? M_PI_270 : (B < 0.0 ? M_PI_090 : -1.0); in _Draw_Triangle() 770 s = M_PI_090 - s; in _Draw_Triangle() 771 … = (acos(sin(s) * sin(m_Light_Hgt) + cos(s) * cos(m_Light_Hgt) * cos(a - m_Light_Dir))) / M_PI_090; in _Draw_Triangle() 781 s = M_PI_090 - s; in _Draw_Triangle() 782 … = (acos(sin(s) * sin(m_Light_Hgt) + cos(s) * cos(m_Light_Hgt) * cos(a - m_Light_Dir))) / M_PI_090; in _Draw_Triangle()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/garden/garden_3d_viewer/ |
H A D | 3d_viewer_tin.cpp | 480 …iangle(p, false, acos(sin(M_PI_090 - s) * sin(Shade_Dec) + cos(M_PI_090 - s) * cos(Shade_Dec) * co… in On_Draw()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/shapes/shapes_polygons/ |
H A D | shape_index.cpp | 411 for(double Direction=0.0; Direction<M_PI_090; Direction+=dAngle) in Get_Diameters_Feret() 435 CHECK_DIR(sx, sy, Direction + M_PI_090); in Get_Diameters_Feret()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/saga_core/saga_gdi/ |
H A D | 3d_view_canvas.cpp | 543 s = M_PI_090 - atan(sqrt(A*A + B*B)); in Draw_Triangle() 544 a = A != 0.0 ? M_PI_180 + atan2(B, A) : B > 0.0 ? M_PI_270 : (B < 0.0 ? M_PI_090 : -1.0); in Draw_Triangle() 552 …sColor, (acos(sin(s) * sin(Light_Dec) + cos(s) * cos(Light_Dec) * cos(a - Light_Azi))) / M_PI_090); in Draw_Triangle()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/develop/dev_exercises/ |
H A D | Exercise_05.cpp | 338 m_pAspect ->Set_Value(x, y, M_PI_090); in Method_03()
|