14 May 2015 9:50:48.038 PM SPHERE_LLQ_GRID_TEST MATLAB version Test the SPHERE_LLQ_GRID library. SPHERE_LLQ_GRID_POINT_COUNT_TEST SPHERE_LLQ_GRID_POINT_COUNT counts the points used for a grid based on quadrilaterals defined by latitude and longitude lines on a sphere in 3D. LAT_NUM LONG_NUM POINT_NUM 1 2 4 1 4 6 1 8 10 1 16 18 3 2 8 3 4 14 3 8 26 3 16 50 5 2 12 5 4 22 5 8 42 5 16 82 7 2 16 7 4 30 7 8 58 7 16 114 9 2 20 9 4 38 9 8 74 9 16 146 11 2 24 11 4 46 11 8 90 11 16 178 13 2 28 13 4 54 13 8 106 13 16 210 15 2 32 15 4 62 15 8 122 15 16 242 17 2 36 17 4 70 17 8 138 17 16 274 SPHERE_LLQ_GRID_POINTS_TEST SPHERE_LLQ_POINTS produces latitude/longitude points on a sphere in 3D. Radius = 10.0000 Center: 1: 0.0000000 2: 0.0000000 3: 0.0000000 The number of latitudes = 3 The number of longitudes = 4 The number of grid points is 14 1 0.00000 0.00000 10.0000 2 7.07107 0.00000 7.07107 3 0.432978E-15 7.07107 7.07107 4 -7.07107 0.865956E-15 7.07107 5 -0.129893E-14 -7.07107 7.07107 6 10.0000 0.00000 0.612323E-15 7 0.612323E-15 10.0000 0.612323E-15 8 -10.0000 0.122465E-14 0.612323E-15 9 -0.183697E-14 -10.0000 0.612323E-15 10 7.07107 0.00000 -7.07107 11 0.432978E-15 7.07107 -7.07107 12 -7.07107 0.865956E-15 -7.07107 13 -0.129893E-14 -7.07107 -7.07107 14 0.122465E-14 0.00000 -10.0000 SPHERE_LLQ_GRID_LINE_COUNT_TEST SPHERE_LLQ_GRID_LINE_COUNT counts the lines used for a grid based on quadrilaterals defined by latitude and longitude lines on a sphere in 3D. LAT_NUM LONG_NUM LINE_NUM 1 2 6 1 4 12 1 8 24 1 16 48 3 2 14 3 4 28 3 8 56 3 16 112 5 2 22 5 4 44 5 8 88 5 16 176 7 2 30 7 4 60 7 8 120 7 16 240 9 2 38 9 4 76 9 8 152 9 16 304 11 2 46 11 4 92 11 8 184 11 16 368 13 2 54 13 4 108 13 8 216 13 16 432 15 2 62 15 4 124 15 8 248 15 16 496 17 2 70 17 4 140 17 8 280 17 16 560 SPHERE_LLQ_GRID_LINES_TEST SPHERE_LLQ_GRID_LINES computes grid lines on a sphere in 3D. Number of latitudes is 3 Number of longitudes is 4 Number of line segments is 28 Grid line vertices: Row 1 2 Col 1: 1 2 2: 2 6 3: 6 10 4: 10 14 5: 1 3 6: 3 7 7: 7 11 8: 11 14 9: 1 4 10: 4 8 11: 8 12 12: 12 14 13: 1 5 14: 5 9 15: 9 13 16: 13 14 17: 2 3 18: 3 4 19: 4 5 20: 5 2 21: 6 7 22: 7 8 23: 8 9 24: 9 6 25: 10 11 26: 11 12 27: 12 13 28: 13 10 SPHERE_LLQ_GRID_DISPLAY_TEST SPHERE_LLQ_GRID_DISPLAY displays an LLQ grid on a sphere. Number of latitudes is 10 Number of longitudes is 12 The number of grid points is 122 Number of line segments is 252 Created node file "sphere_llq_grid_nodes.txt". Created line file "sphere_llq_grid_lines.txt". Created command file "sphere_llq_grid_commands.txt". SPHERE_LLQ_GRID_TEST Normal end of execution. 14 May 2015 9:50:48.041 PM