08-Jan-2022 10:29:36 test_triangulation_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test test_triangulation(). test_triangulation_test01 P00_TEST_NUM reports the number of problems. P00_TITLE returns a title for each problem. P00_HEADER prints some information about each problem. The number of tests available = 15 Test number: 1 Title: "#1: The unit circle." P01: Strang and Persson example #1 The unit circle. Radius = 1.000000 Center = (0.000000, 0.000000) A uniform mesh density is requested. Element sizes tried were 0.4, 0.2, 0.1. Number of boundary segments = 1 Number of fixed points = 0 Number of holes = 0 Test number: 2 Title: "#2: The circle with concentric circular hole." P02: Strang and Persson example #2 The unit circle, with a concentric hole. Radius1 = 1.000000 Center = (0.000000, 0.000000) A uniform mesh density is requested. Element sizes tried were 0.4, 0.2, 0.1. Number of boundary segments = 2 Number of fixed points = 0 Number of holes = 1 Test number: 3 Title: "#3: The unit square with circular hole." P03: Strang and Persson example #3 The unit square, with a hole. The hole is a concentric circle of radius 0.4. A uniform mesh density is requested. Element sizes tried were 0.4, 0.2, 0.1. Number of boundary segments = 2 Number of fixed points = 4 Number of holes = 1 Test number: 4 Title: "#4: The unit hexagon with hexagonal hole." P04: Strang and Persson example #4 The hexagon with hexagonal hole. Radius of outer hexagon R1 = 1.000000 Radius of outer hexagon R2 = 0.500000 A uniform mesh density is requested. Element sizes tried were ? Number of boundary segments = 2 Number of fixed points = 12 Number of holes = 1 Test number: 5 Title: "#5: The horn." P05: Strang and Persson example #5 The horn. Circle C1 has center = (0,0) Radius R1 = 1.000000 Circle C2 has center = (-0.4,0) Radius R2 = 0.550000 Points in the region are: in C1 and not in C2 and have 0 <= Y. A uniform mesh density is requested. Element sizes tried were 0.4, 0.2, 0.1. Number of boundary segments = 1 Number of fixed points = 4 Number of holes = 0 Test number: 6 Title: "#6: The superellipse with superelliptical hole." P06: Strang and Persson example #6 Superellipse with superelliptical hole. Radius R1 = 1.000000 Radius R2 = 0.500000 A uniform mesh density is requested. Element sizes tried were 0.4, 0.2, 0.1. Number of boundary segments = 2 Number of fixed points = 0 Number of holes = 1 Test number: 7 Title: "#7: Bicycle seat (implicit)." P07: Strang and Persson example #7 Bicycle seat (implicit). A uniform mesh density is requested. The boundary is formed by two algebraic expressions. Number of boundary segments = 1 Number of fixed points = 2 Number of holes = 0 Test number: 8 Title: "#8: Pie slice with notch and hole." P08: Strang and Persson example #7 Pie slice with notch and hole. A uniform mesh density is requested. Number of boundary segments = 2 Number of fixed points = 6 Number of holes = 1 Test number: 9 Title: "#9: Jeff Borggaard's Box with 2 hexagonal holes." P09: Jeff Borggaard's example A square with 2 hexagonal holes. The square has "center" at (0.500000, 0.500000) and "radius" R1 = 0.500000 Hexagon 1 has "center" at (0.250000, 0.750000) and "radius" R2 = 0.100000 Hexagon 2 has "center" at (0.600000, 0.400000) and "radius" R3 = 0.100000 A uniform mesh density is requested. Number of boundary segments = 3 Number of fixed points = 16 Number of holes = 2 Test number: 10 Title: "#10: The unit square." P10: The unit square. Number of boundary segments = 1 Number of fixed points = 4 Number of holes = 0 Test number: 11 Title: "#11: The L-shaped region." P11: The L-shaped region. The lower left corner of the indentation is P = (0.500000, 0.500000) Number of boundary segments = 1 Number of fixed points = 6 Number of holes = 0 Test number: 12 Title: "#12: John Shadid's H-shaped region." P12: John Shadid's H-shaped region. Number of boundary segments = 1 Number of fixed points = 12 Number of holes = 0 Test number: 13 Title: "#13: The Sandia Fork region." P13: The Sandia Fork region. Number of boundary segments = 1 Number of fixed points = 8 Number of holes = 0 Test number: 14 Title: "#14: Marcus Garvie's Lake Alpha with Beta Island." P14: Marcus Garvie's Lake Alpha and Beta island. Number of boundary segments = 2 Number of fixed points = 101 Number of holes = 1 Test number: 15 Title: "#15: Sangbum Kim's forward step." P15: Sangbum Kim's forward step. Number of boundary segments = 1 Number of fixed points = 8 Number of holes = 0 test_triangulation_test02 P00_TEST_NUM reports the number of problems. P00_SAMPLE returns sample points from the region. Test number = 1 Title: = "#1: The unit circle." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: 0.320311 -0.743735 2: 0.156824 -0.105441 3: 0.643402 0.659669 4: 0.826786 -0.500418 5: -0.555003 -0.608857 6: 0.712058 0.500713 7: -0.153535 0.848269 8: -0.599305 -0.181824 9: 0.78093 -0.213602 10: 0.403719 -0.0905389 11: 0.460826 0.702628 12: 0.175381 -0.0327791 13: 0.507292 -0.139921 14: -0.213969 0.0197166 15: 0.0968303 -0.296236 16: 0.5701 0.706005 17: -0.734857 0.393464 18: 0.486017 -0.284406 19: 0.255492 -0.940716 20: 0.179618 -0.0467291 Test number = 2 Title: = "#2: The circle with concentric circular hole." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: -0.824351 0.333931 2: -0.450051 0.414408 3: 0.0744514 -0.761223 4: 0.242208 -0.829795 5: 0.368196 0.879085 6: -0.980722 0.0631595 7: -0.741625 0.26392 8: -0.318816 -0.418092 9: -0.134923 -0.516917 10: 0.0180615 -0.613173 11: -0.151511 0.918285 12: -0.26128 -0.552567 13: -0.515915 -0.760152 14: 0.315117 0.515036 15: 0.711147 0.659433 16: -0.67375 0.00692569 17: 0.552067 -0.142694 18: -0.327577 0.513424 19: -0.707762 -0.420178 20: 0.122312 0.736616 Test number = 3 Title: = "#3: The unit square with circular hole." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: -0.296681 0.661657 2: 0.834387 -0.428322 3: 0.5144 0.507458 4: -0.848291 -0.8921 5: 0.0615951 0.558334 6: 0.868021 -0.740188 7: -0.976196 -0.325755 8: -0.675635 0.588569 9: -0.668703 0.203964 10: -0.474057 0.308158 11: 0.378429 0.496303 12: -0.0989168 -0.832357 13: -0.542046 0.826675 14: -0.695244 0.651634 15: 0.0766849 0.992269 16: -0.843649 -0.114643 17: -0.786694 0.923796 18: -0.990732 0.549821 19: 0.634606 0.737389 20: -0.831128 -0.200435 Test number = 4 Title: = "#4: The unit hexagon with hexagonal hole." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: 0.560504 -0.220522 2: -0.516617 -0.192176 3: -0.53044 -0.293683 4: 0.298231 0.463445 5: 0.489386 -0.62209 6: 0.373551 -0.632978 7: 0.635255 0.589663 8: 0.623161 0.0656512 9: 0.751886 0.100313 10: -0.584515 -0.397507 11: -0.0581533 -0.539024 12: -0.548156 -0.658584 13: -0.544671 -0.128603 14: -0.377795 0.846759 15: -0.139585 -0.630367 16: -0.12226 -0.777762 17: -0.483871 -0.18256 18: 0.189792 -0.475577 19: 0.205686 0.422432 20: -0.556507 -0.765165 Test number = 5 Title: = "#5: The horn." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: 0.602029 0.0292203 2: -0.0227821 0.578525 3: -0.0222045 0.62406 4: 0.358271 0.395515 5: -0.329286 0.679728 6: -0.0116521 0.779052 7: 0.781845 0.334163 8: 0.397492 0.19781 9: 4.48712e-05 0.479922 10: 0.235333 0.859442 11: 0.610979 0.576722 12: 0.773024 0.0286742 13: 0.000943248 0.471088 14: 0.444879 0.149865 15: 0.319211 0.518595 16: 0.600661 0.453798 17: -0.135217 0.825314 18: -0.879058 0.399258 19: 0.0537517 0.416799 20: 0.31372 0.627973 Test number = 6 Title: = "#6: The superellipse with superelliptical hole." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: -0.934798 0.1224 2: 0.763733 0.338351 3: -0.619133 -0.262167 4: -0.0785481 0.963276 5: -0.68719 0.711046 6: -0.618153 -0.143494 7: -0.0359559 -0.758777 8: 0.179015 -0.547625 9: -0.496388 -0.419119 10: 0.168139 -0.784462 11: 0.812616 0.759307 12: 0.635521 -0.478544 13: 0.188713 -0.954975 14: -0.677031 -0.642468 15: -0.154229 -0.811541 16: 0.277062 -0.932792 17: -0.862388 -0.360801 18: -0.184762 0.639962 19: 0.436718 0.937299 20: -0.788742 0.221917 Test number = 7 Title: = "#7: Bicycle seat (implicit)." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: -3.85175 -3.65576 2: 1.60489 -2.67937 3: -0.589847 -2.45391 4: -0.613924 -0.379042 5: -0.449921 -4.78542 6: -5.09135 -0.669452 7: -0.416481 -4.08367 8: -2.49561 -1.35566 9: -4.84205 -0.569439 10: -4.89049 -3.27501 11: -6.42277 -1.54274 12: 2.88026 -1.72044 13: -1.16665 -1.13334 14: 2.31877 -0.925899 15: -4.57204 -0.74431 16: -4.14328 -4.28362 17: 1.68553 -2.29917 18: -0.648338 -1.02833 19: 4.24563 -2.89869 20: 2.54484 -2.50305 Test number = 8 Title: = "#8: Pie slice with notch and hole." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: 0.841929 0.17233 2: 0.256441 0.0587316 3: 0.869941 -0.121759 4: 0.939829 0.0753432 5: 0.479463 0.0721158 6: 0.543886 0.114422 7: 0.40458 -0.0267241 8: 0.627896 0.140787 9: 0.932854 0.244709 10: 0.86114 -0.00784049 11: 0.393456 0.0887393 12: 0.741258 0.0103799 13: 0.586092 -0.123123 14: 0.242785 -0.0298148 15: 0.687796 -0.0728688 16: 0.73634 -0.0545034 17: 0.683416 0.105623 18: 0.330858 -0.0391803 19: 0.821721 -0.0362753 20: 0.887771 -0.0563278 Test number = 9 Title: = "#9: Jeff Borggaard's Box with 2 hexagonal holes." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: 0.768854 0.167254 2: 0.86198 0.989872 3: 0.514423 0.884281 4: 0.588026 0.154752 5: 0.199863 0.406955 6: 0.748706 0.825584 7: 0.789963 0.318524 8: 0.534064 0.0899507 9: 0.111706 0.136293 10: 0.678652 0.495177 11: 0.18971 0.495006 12: 0.147608 0.0549741 13: 0.850713 0.56056 14: 0.929609 0.696667 15: 0.582791 0.815397 16: 0.879014 0.988912 17: 0.000522375 0.865439 18: 0.612566 0.98995 19: 0.52768 0.479523 20: 0.801348 0.227843 Test number = 10 Title: = "#10: The unit square." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: 0.498094 0.900852 2: 0.574661 0.845178 3: 0.73864 0.585987 4: 0.246735 0.666416 5: 0.0834828 0.62596 6: 0.660945 0.729752 7: 0.890752 0.982303 8: 0.769029 0.581446 9: 0.928313 0.58009 10: 0.0169829 0.12086 11: 0.862711 0.484297 12: 0.844856 0.209405 13: 0.552291 0.629883 14: 0.031991 0.614713 15: 0.362411 0.0495326 16: 0.48957 0.19251 17: 0.123084 0.205494 18: 0.146515 0.189072 19: 0.0426524 0.635198 20: 0.281867 0.538597 Test number = 11 Title: = "#11: The L-shaped region." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: 0.347582 0.499116 2: 0.267901 0.445183 3: 0.0619661 0.490357 4: 0.926499 0.436964 5: 0.135147 0.208461 6: 0.78249 0.320156 7: 0.208514 0.205976 8: 0.473967 0.0820712 9: 0.0528547 0.142041 10: 0.0832302 0.620959 11: 0.286855 0.0520779 12: 0.465601 0.728662 13: 0.868921 0.0317023 14: 0.43022 0.934405 15: 0.992199 0.429469 16: 0.392779 0.513377 17: 0.588801 0.199295 18: 0.566966 0.0154448 19: 0.469571 0.301306 20: 0.147767 0.332936 Test number = 12 Title: = "#12: John Shadid's H-shaped region." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: 0.23242 0.763957 2: 0.409102 0.100222 3: 0.0890585 0.359635 4: 0.646264 0.521886 5: 0.750943 0.175669 6: 0.104473 0.905154 7: 0.337696 0.468468 8: 0.96705 0.104012 9: 0.90458 0.736267 10: 0.280931 0.184194 11: 0.298606 0.299937 12: 0.675296 0.212602 13: 0.447471 0.0714528 14: 0.121243 0.0537544 15: 0.790646 0.0132832 16: 0.448596 0.196658 17: 0.0466853 0.307367 18: 0.796022 0.101669 19: 0.998271 0.332093 20: 0.148673 0.0620452 Test number = 13 Title: = "#13: The Sandia Fork region." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: 54.954 48.5229 2: 74.0032 23.4827 3: 86.693 8.62345 4: 36.6437 36.9199 5: 20.6028 8.66665 6: 77.1934 20.5675 7: 29.4066 23.7373 8: 45.1739 60.9857 9: 12.5332 13.0151 10: 12.65 13.4303 11: 16.8251 19.6249 12: 31.748 31.6429 13: 21.7563 25.1042 14: 55.7789 31.3429 15: 68.5536 29.4149 16: 53.0629 83.2423 17: 59.749 33.5311 18: 42.2646 35.9606 19: 12.4873 2.4434 20: 29.0185 31.7521 Test number = 14 Title: = "#14: Marcus Garvie's Lake Alpha with Beta Island." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: 463.953 447.972 2: 196.514 312.023 3: 524.347 522.616 4: 334.979 313.479 5: 501.539 294.55 6: 442.86 419.058 7: 269.506 677.709 8: 370.01 560.723 9: 437.055 377.218 10: 448.409 540.664 11: 306.789 237.99 12: 492.079 518.451 13: 219.493 389.311 14: 486.175 372.224 15: 452.769 396.05 16: 304.686 548.701 17: 407.314 491.654 18: 246.887 307.603 19: 341.175 293.924 20: 173.622 287.442 Test number = 15 Title: = "#15: Sangbum Kim's forward step." Spatial dimension M = 2 Number of samples N = 20 The sample points: Row: 1 2 Col 1: -6.17859 -0.95818 2: -0.930583 0.616443 3: 7.39661 0.354456 4: 2.10629 0.984349 5: 1.45579 -0.323355 6: 1.88302 -0.233169 7: 1.36699 0.662382 8: 0.441653 0.295507 9: -1.19822 -0.472153 10: -3.88406 -0.397362 11: 5.5052 0.583533 12: -2.48207 -0.416429 13: 3.1182 0.0825927 14: -0.804299 -0.00384389 15: -4.45466 -0.0287412 16: 1.46449 0.886544 17: 2.54695 0.413427 18: 0.177321 0.125655 19: -4.91085 -0.273896 20: -0.171279 -0.306212 test_triangulation_test03 P00_BOUNDARY_NEAREST returns the nearest boundary point for a set of points. Test number = 1 Title: = "#1: The unit circle." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) 0.811354 0.582465 0.812345 0.583177 -0.899027 0.057902 -0.997932 0.064272 0.243277 0.653045 0.349090 0.937089 0.750527 -0.575463 0.793576 -0.608471 0.301284 0.216274 0.812366 0.583148 0.600612 0.171084 0.961743 0.273953 -0.901264 -0.339234 -0.935898 -0.352271 0.134934 -0.948307 0.140871 -0.990028 -0.320518 0.781564 -0.379431 0.925220 0.339351 0.709351 0.431555 0.902086 -0.310692 0.496748 -0.530275 0.847826 0.239746 0.937310 0.247803 0.968810 -0.352515 -0.022518 -0.997966 -0.063747 0.711034 -0.474359 0.831868 -0.554973 -0.554352 -0.582384 -0.689460 -0.724324 0.733243 0.543606 0.803315 0.595555 -0.488421 0.399658 -0.773925 0.633277 0.815434 0.291357 0.941694 0.336470 -0.913874 -0.007367 -0.999968 -0.008061 -0.516396 0.236211 -0.909379 0.415969 Test number = 2 Title: = "#2: The circle with concentric circular hole." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) -0.823759 -0.280658 -0.946569 -0.322500 0.820326 -0.108195 0.991414 -0.130760 -0.771443 -0.246957 -0.952390 -0.304882 -0.409264 0.739778 -0.484084 0.875021 -0.326975 -0.305013 -0.292495 -0.272849 -0.431081 0.516864 -0.256200 0.307183 0.030023 -0.733638 0.040889 -0.999164 -0.516007 0.309996 -0.342882 0.205990 -0.871137 0.041932 -0.998844 0.048079 -0.319042 -0.881706 -0.340255 -0.940333 0.620438 -0.107345 0.394144 -0.068193 -0.412939 0.776894 -0.469345 0.883015 0.275212 -0.447190 0.209649 -0.340657 -0.063729 -0.926707 -0.068607 -0.997644 0.504118 -0.149300 0.383533 -0.113587 0.792548 0.161133 0.979952 0.199234 -0.425417 0.535343 -0.248857 0.313161 -0.477461 -0.780839 -0.521674 -0.853145 -0.150166 0.748750 -0.196640 0.980476 0.092924 0.750083 0.122945 0.992413 Test number = 3 Title: = "#3: The unit square with circular hole." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) 0.754097 -0.293716 1.000000 -0.293716 -0.101113 0.927061 -0.101113 1.000000 -0.915404 0.945917 -0.915404 1.000000 -0.621586 0.334241 -0.352297 0.189438 0.622302 -0.961485 0.622302 -1.000000 -0.832253 0.949603 -0.832253 1.000000 0.302699 -0.537524 0.196273 -0.348536 -0.193018 -0.755959 -0.193018 -1.000000 -0.463122 -0.484308 -0.276449 -0.289095 -0.336670 -0.695532 -0.336670 -1.000000 -0.303985 -0.756683 -0.303985 -1.000000 0.768306 -0.811443 0.768306 -1.000000 0.860081 -0.201960 1.000000 -0.201960 -0.905197 -0.315253 -1.000000 -0.315253 0.471932 0.589364 0.250020 0.312234 0.787265 -0.890416 0.787265 -1.000000 -0.392677 -0.907617 -0.392677 -1.000000 -0.609046 0.440332 -0.324154 0.234359 0.443507 0.755598 0.443507 1.000000 0.164866 -0.858631 0.164866 -1.000000 Test number = 4 Title: = "#4: The unit hexagon with hexagonal hole." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) 0.456774 0.153517 0.433013 0.153517 0.336929 -0.586447 0.215264 -0.375717 0.307701 -0.855897 0.307701 -0.866025 -0.030903 0.513498 -0.017333 0.489993 -0.506626 0.568846 -0.630339 0.640272 -0.099213 -0.588655 -0.036021 -0.479203 0.346452 0.328560 0.334075 0.307122 -0.754370 -0.185363 -0.858328 -0.245383 -0.449426 0.433339 -0.365934 0.288728 -0.433231 0.792398 -0.433231 0.866025 0.653158 -0.219947 0.818050 -0.315147 0.668738 0.219259 0.822242 0.307885 -0.350289 -0.507544 -0.259450 -0.350206 -0.199841 0.663743 -0.199841 0.866025 -0.351560 -0.396546 -0.308467 -0.321907 0.262282 0.718641 0.262282 0.866025 -0.870733 -0.127630 -0.912418 -0.151697 0.653259 -0.210931 0.821979 -0.308341 0.226950 0.637281 0.226950 0.866025 -0.618431 -0.482835 -0.695534 -0.527351 Test number = 5 Title: = "#5: The horn." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) 0.638844 0.531889 0.490114 0.455739 -0.144178 0.966053 -0.144012 0.966680 0.240110 0.695390 0.277258 0.735746 0.440329 0.346895 0.524338 0.381575 0.033981 0.556695 0.214820 0.788668 -0.687010 0.562056 -0.773981 0.633209 0.389607 0.426456 0.479874 0.475208 0.672541 0.731387 0.676874 0.736099 -0.227220 0.775555 -0.281159 0.959661 0.468542 0.430278 0.496069 0.443915 0.568465 0.705572 0.627388 0.778707 0.181809 0.459380 0.384846 0.619691 0.668378 0.015645 0.668378 0.000000 0.727422 0.078069 0.727422 0.000000 0.338085 0.500211 0.427805 0.561016 -0.564012 0.571616 -0.702357 0.711825 0.199171 0.055976 0.199171 0.000000 0.664443 0.617390 0.732569 0.680692 0.040259 0.863868 0.054069 0.890966 -0.783967 0.516997 -0.834816 0.550530 Test number = 6 Title: = "#6: The superellipse with superelliptical hole." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) -0.096109 0.679395 -0.094880 0.499838 -0.521419 0.157847 -0.498776 0.157139 0.733774 -0.186446 0.498068 -0.176039 -0.774770 -0.112308 -0.999960 -0.112630 0.666727 -0.192743 0.497683 -0.184175 -0.719489 -0.479740 -0.981445 -0.518326 -0.826370 -0.141205 -0.999899 -0.141699 -0.485434 -0.404889 -0.449937 -0.382995 -0.150283 -0.761585 -0.151105 -0.999870 -0.512853 0.570140 -0.404279 0.434941 -0.851821 -0.212233 -0.999478 -0.213676 -0.715032 -0.463848 -0.984138 -0.498908 -0.650216 -0.722702 -0.756957 -0.905299 0.197771 0.802116 0.199337 0.999605 0.878760 -0.557631 0.971058 -0.576994 -0.863286 -0.127346 -0.999934 -0.127630 -0.652294 -0.947786 -0.653324 -0.950963 0.909357 -0.138807 0.999907 -0.139051 0.923117 0.524829 0.979037 0.533898 -0.985303 0.360077 -0.995747 0.360573 Test number = 7 Title: = "#7: Bicycle seat (implicit)." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) -5.037515 -2.980802 0.000000 -5.000000 -4.905394 -3.068437 0.000000 -5.000000 -1.510215 -1.708602 0.000000 1.000000 -3.537254 -3.550990 0.000000 -5.000000 -4.034666 -4.075043 0.000000 -5.000000 7.169371 0.613968 0.000000 1.000000 5.006355 -0.630429 0.000000 1.000000 -5.092337 -2.837774 0.000000 -5.000000 1.967504 -1.741627 0.000000 1.000000 -0.957601 -3.275436 0.000000 -5.000000 0.026061 -0.430723 0.000000 1.000000 4.121896 -1.543665 0.000000 1.000000 3.890279 -1.126793 0.000000 1.000000 -5.918454 -1.973613 0.000000 -5.000000 -2.399214 -4.447114 0.000000 -5.000000 2.706015 -2.410933 0.000000 1.000000 3.053689 -3.459293 0.000000 -5.000000 6.384396 -2.643893 0.000000 -5.000000 1.295440 -0.880173 0.000000 1.000000 3.446842 -1.099755 0.000000 1.000000 Test number = 8 Title: = "#8: Pie slice with notch and hole." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) 0.726915 -0.065301 0.688920 -0.045752 0.284824 0.049162 0.253454 -0.067913 0.962161 -0.162653 0.986010 -0.166685 0.932898 -0.056595 0.944746 -0.044746 0.397109 -0.064848 0.386720 -0.103621 0.131115 -0.033625 0.130738 -0.035031 0.789730 -0.136984 0.771074 -0.206609 0.448020 0.035902 0.502679 0.022990 0.061401 -0.001921 0.057769 -0.015479 0.642315 -0.144283 0.635359 -0.170244 0.846373 0.003106 0.900000 0.000000 0.911067 0.103338 0.957203 0.057203 0.725182 -0.139821 0.711560 -0.190662 0.725688 0.029275 0.697393 0.022685 0.858759 0.149612 0.985161 0.171634 0.317833 -0.024739 0.302727 -0.081115 0.710409 -0.097388 0.674994 -0.066150 0.911647 0.072095 0.941871 0.041871 0.838256 0.043854 0.900000 0.000000 0.948109 -0.227228 0.972461 -0.233065 Test number = 9 Title: = "#9: Jeff Borggaard's Box with 2 hexagonal holes." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) 0.758766 0.995216 0.758766 1.000000 0.195798 0.992359 0.195798 1.000000 0.802262 0.424227 0.700000 0.400000 0.728864 0.498354 0.664628 0.461267 0.808990 0.356509 0.700000 0.400000 0.073243 0.590991 0.000000 0.590991 0.910188 0.193766 1.000000 0.193766 0.432368 0.749160 0.350000 0.750000 0.039184 0.946325 0.000000 0.946325 0.763673 0.558821 0.650000 0.486603 0.183843 0.497949 0.200000 0.663397 0.517846 0.994243 0.517846 1.000000 0.854852 0.962404 0.854852 1.000000 0.934979 0.479485 1.000000 0.479485 0.231792 0.396290 0.000000 0.396290 0.705077 0.558559 0.650000 0.486603 0.756631 0.995481 0.756631 1.000000 0.962431 0.535067 1.000000 0.535067 0.963870 0.115626 1.000000 0.115626 0.051448 0.304349 0.000000 0.304349 Test number = 10 Title: = "#10: The unit square." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) 0.580192 0.530964 1.000000 0.530964 0.901208 0.540550 1.000000 0.540550 0.431981 0.542667 0.000000 0.542667 0.712415 0.016675 0.712415 0.000000 0.800921 0.142509 0.800921 0.000000 0.478474 0.256835 0.478474 0.000000 0.369092 0.661765 0.000000 0.000000 0.169609 0.278784 0.000000 0.278784 0.198222 0.195072 0.198222 0.000000 0.326840 0.880338 0.000000 0.000000 0.471102 0.403969 0.471102 0.000000 0.179231 0.968925 0.000000 0.000000 0.407456 0.844487 0.000000 0.000000 0.615325 0.376611 0.615325 0.000000 0.877182 0.784852 1.000000 0.784852 0.464954 0.813977 0.000000 0.000000 0.898444 0.429239 1.000000 0.429239 0.334329 0.596647 0.000000 0.596647 0.901991 0.702066 1.000000 0.702066 0.377455 0.734956 0.000000 0.000000 Test number = 11 Title: = "#11: The L-shaped region." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) 0.977051 0.271407 1.000000 0.271407 0.270053 0.311110 0.500000 0.500000 0.035617 0.181980 0.000000 0.181980 0.546494 0.231745 0.546494 0.000000 0.004666 0.915026 0.000000 0.915026 0.321371 0.001419 0.321371 0.000000 0.015193 0.208470 0.000000 0.208470 0.227483 0.127266 0.227483 0.000000 0.004324 0.727080 0.000000 0.727080 0.677058 0.390223 0.677058 0.500000 0.718328 0.218277 0.718328 0.000000 0.524607 0.024816 0.524607 0.000000 0.045550 0.594037 0.000000 0.594037 0.120542 0.841369 0.000000 0.841369 0.428606 0.963612 0.428606 1.000000 0.244450 0.220310 0.244450 0.000000 0.113104 0.536788 0.000000 0.536788 0.381055 0.347567 0.500000 0.500000 0.730616 0.319662 0.730616 0.500000 0.458668 0.161573 0.458668 0.000000 Test number = 12 Title: = "#12: John Shadid's H-shaped region." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) 0.184502 0.208346 0.000000 0.208346 0.790354 0.956196 0.790354 1.000000 0.062013 0.470763 0.000000 0.470763 0.428448 0.043390 0.428448 0.000000 0.884359 0.978985 0.884359 1.000000 0.141634 0.133780 0.141634 0.000000 0.342640 0.909455 0.342640 1.000000 0.854076 0.899983 0.854076 1.000000 0.096717 0.754425 0.000000 0.754425 0.173130 0.418625 0.000000 0.418625 0.077860 0.819001 0.000000 0.819001 0.312462 0.738560 0.500000 0.738560 0.402556 0.067223 0.402556 0.000000 0.981546 0.497577 1.000000 0.497577 0.377573 0.742405 0.500000 0.742405 0.415565 0.156502 0.500000 0.156502 0.228654 0.618100 0.000000 0.618100 0.466092 0.835088 0.500000 0.835088 0.960784 0.582519 1.000000 0.582519 0.291373 0.854926 0.291373 1.000000 Test number = 13 Title: = "#13: The Sandia Fork region." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) 29.336793 30.936924 27.783275 33.262849 52.302980 32.529899 52.118571 29.925101 45.642536 38.456689 45.000000 39.686270 54.640189 34.668175 53.979883 29.734837 82.239401 2.515050 79.909127 2.333262 39.783912 33.366818 41.217192 28.685576 80.107576 23.298153 81.634510 24.479742 80.052277 10.506877 78.319104 9.900925 50.049889 52.158968 55.000000 52.158968 78.172261 14.846502 76.540167 13.986405 48.329457 33.781204 48.518255 29.963385 48.403852 63.903109 45.000000 63.903109 27.543138 28.182024 25.072319 31.282754 78.326594 11.393064 77.833099 11.194578 51.381484 40.773016 55.000000 40.773016 45.088275 55.114034 45.000000 55.114034 87.223550 5.219215 89.612512 5.554178 45.187461 33.342819 45.714357 29.692310 53.874652 65.050764 55.000000 65.050764 87.757393 1.436214 89.971094 1.520419 Test number = 14 Title: = "#14: Marcus Garvie's Lake Alpha with Beta Island." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) 410.303784 561.696900 413.483242 586.099271 337.385515 200.850181 338.866332 199.650868 284.394398 764.218100 279.123751 772.915546 377.781630 768.793718 380.804397 760.208875 139.300070 280.398894 136.475007 277.680090 517.882046 338.279364 570.519150 348.854230 519.112352 322.123802 479.664390 288.992380 221.650916 354.949184 216.551450 396.520640 404.744642 518.976582 343.363174 509.240326 525.201742 433.799243 562.403614 424.549275 499.003168 315.374526 479.664390 288.992380 165.949444 269.850466 160.972998 259.653716 363.069012 573.293416 365.980696 581.893802 265.085896 224.076700 255.738010 249.168720 277.350954 731.951850 281.821486 727.401645 366.812447 547.398510 368.322140 581.101100 463.909527 536.503056 475.941525 563.427794 227.021935 304.345735 237.953738 302.184811 447.383353 482.640950 483.620588 559.887948 349.596954 574.477878 354.263030 585.860850 Test number = 15 Title: = "#15: Sangbum Kim's forward step." Spatial dimension M = 2 Number of samples N = 20 Pairs of Point and Nearest Boundary Point: (This data can be passed to the PLOT_POINTS routine and plotted with the DASH option.) -5.098144 -0.245463 -8.000000 -0.245463 -2.418819 -0.572207 -8.000000 -0.572207 -5.328059 -0.246264 -8.000000 -0.246264 6.983763 0.728444 -8.000000 0.728444 -3.931699 -0.061684 -8.000000 -0.061684 -5.445725 -0.466837 -8.000000 -0.466837 1.547549 -0.732252 -8.000000 -0.732252 -5.499154 -0.072327 -8.000000 -0.072327 -7.314177 -0.700600 -8.000000 -0.700600 3.915835 0.203299 -8.000000 0.203299 -1.641168 -0.201630 -8.000000 -0.201630 -2.982989 -0.349188 -8.000000 -0.349188 -0.040450 -0.766626 -8.000000 -0.766626 -1.991611 -0.887538 -8.000000 -0.887538 3.157657 0.837841 -8.000000 0.837841 7.207901 0.498228 -8.000000 0.498228 -5.223889 -0.347480 -8.000000 -0.347480 7.172988 0.509839 -8.000000 0.509839 1.741915 -0.802721 -8.000000 -0.802721 -0.888150 0.297354 -8.000000 0.297354 test_triangulation_test05 P00_POINTS_EPS makes an EPS file containing an image of a set of points, and the boundary. Test number = 1 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.050000 Title: = "#1: The unit circle." Boundary image file is "p01_points.eps". Test number = 2 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.050000 Title: = "#2: The circle with concentric circular hole." Boundary image file is "p02_points.eps". Test number = 3 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.050000 Title: = "#3: The unit square with circular hole." Boundary image file is "p03_points.eps". Test number = 4 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.043301 Title: = "#4: The unit hexagon with hexagonal hole." Boundary image file is "p04_points.eps". Test number = 5 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.025000 Title: = "#5: The horn." Boundary image file is "p05_points.eps". Test number = 6 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.050000 Title: = "#6: The superellipse with superelliptical hole." Boundary image file is "p06_points.eps". Test number = 7 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.150000 Title: = "#7: Bicycle seat (implicit)." Boundary image file is "p07_points.eps". Test number = 8 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.012941 Title: = "#8: Pie slice with notch and hole." Boundary image file is "p08_points.eps". Test number = 9 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.025000 Title: = "#9: Jeff Borggaard's Box with 2 hexagonal holes." Boundary image file is "p09_points.eps". Test number = 10 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.025000 Title: = "#10: The unit square." Boundary image file is "p10_points.eps". Test number = 11 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.025000 Title: = "#11: The L-shaped region." Boundary image file is "p11_points.eps". Test number = 12 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.025000 Title: = "#12: John Shadid's H-shaped region." Boundary image file is "p12_points.eps". Test number = 13 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 2.500000 Title: = "#13: The Sandia Fork region." Boundary image file is "p13_points.eps". Test number = 14 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 13.350000 Title: = "#14: Marcus Garvie's Lake Alpha with Beta Island." Boundary image file is "p14_points.eps". Test number = 15 Spatial dimension = 2 Relative spacing = 0.025000 Actual spacing H = 0.050000 Title: = "#15: Sangbum Kim's forward step." Boundary image file is "p15_points.eps". test_triangulation_test06 P00_POLY_WRITE creates a POLY file out of the boundary data for each problem. The number of tests available = 15 test_triangulation_test07 P00_HEX_GRID returns points inside a region that lie on a hexagonal grid. P00_HEX_GRID_COUNT counts the number of hex grid points inside a region. DTABLE_WRITE writes sets of points to a file. We use a hex grid spacing of H = 0.025000 P00_HEX_GRID_COUNT reports that the number of hex grid points will be 409 A few of the points: Row: 1 2 Col 1: 0.4875 0.0216506 2: 0.475 1.04083e-17 3: 0.4875 -0.0216506 4: 0.5 0.0433013 5: 0.475 0.0433013 The hex grid points were written to the file "p08_hex_grid_points.txt" test_triangulation_test(): Normal end of execution. 08-Jan-2022 10:29:38