214 if constexpr (NEIGHBORS == 11111111) {
219 else if constexpr (NEIGHBORS == 1111) {
224 interpolate3d_help_plane<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
225 }
else if constexpr (NEIGHBORS == 11110000) {
230 interpolate3d_help_plane<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
231 }
else if constexpr (NEIGHBORS == 1010101) {
236 interpolate3d_help_plane<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
237 }
else if constexpr (NEIGHBORS == 10101010) {
242 interpolate3d_help_plane<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
243 }
else if constexpr (NEIGHBORS == 110011) {
248 interpolate3d_help_plane<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
249 }
else if constexpr (NEIGHBORS == 11001100) {
254 interpolate3d_help_plane<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
255 }
else if constexpr (NEIGHBORS == 10011001) {
260 interpolate3d_help_plane<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
261 }
else if constexpr (NEIGHBORS == 1100110) {
266 interpolate3d_help_plane<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
267 }
else if constexpr (NEIGHBORS == 10100101) {
272 interpolate3d_help_plane<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
273 }
else if constexpr ((NEIGHBORS == 1011010) || (NEIGHBORS == 11011010)) {
278 interpolate3d_help_plane<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
279 }
else if constexpr (NEIGHBORS == 11000011) {
284 interpolate3d_help_plane<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
285 }
else if constexpr (NEIGHBORS == 111100) {
290 interpolate3d_help_plane<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
294 else if constexpr (NEIGHBORS == 111) {
298 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
299 }
else if constexpr (NEIGHBORS == 1011) {
303 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
304 }
else if constexpr (NEIGHBORS == 1101) {
308 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
309 }
else if constexpr (NEIGHBORS == 10011) {
313 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
314 }
else if constexpr (NEIGHBORS == 10101) {
318 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
319 }
else if constexpr (NEIGHBORS == 11001) {
323 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
324 }
else if constexpr (NEIGHBORS == 100011) {
328 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
329 }
else if constexpr (NEIGHBORS == 100101) {
333 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
334 }
else if constexpr (NEIGHBORS == 101001) {
338 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
339 }
else if constexpr (NEIGHBORS == 110001) {
343 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
344 }
else if constexpr (NEIGHBORS == 1000011) {
348 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
349 }
else if constexpr (NEIGHBORS == 1000101) {
353 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
354 }
else if constexpr (NEIGHBORS == 1001001) {
358 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
359 }
else if constexpr (NEIGHBORS == 1010001) {
363 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
364 }
else if constexpr (NEIGHBORS == 1100001) {
368 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
369 }
else if constexpr (NEIGHBORS == 10000011) {
373 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
374 }
else if constexpr (NEIGHBORS == 10000101) {
378 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
379 }
else if constexpr (NEIGHBORS == 10001001) {
383 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
384 }
else if constexpr (NEIGHBORS == 10010001) {
388 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
389 }
else if constexpr (NEIGHBORS == 10010001) {
393 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
394 }
else if constexpr (NEIGHBORS == 10100001) {
398 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
399 }
else if constexpr (NEIGHBORS == 11000001) {
403 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
404 }
else if constexpr (NEIGHBORS == 1110) {
408 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
409 }
else if constexpr (NEIGHBORS == 10110) {
413 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
414 }
else if constexpr (NEIGHBORS == 11010) {
418 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
419 }
else if constexpr (NEIGHBORS == 100110) {
423 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
424 }
else if constexpr (NEIGHBORS == 101010) {
428 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
429 }
else if constexpr (NEIGHBORS == 110010) {
433 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
434 }
else if constexpr (NEIGHBORS == 1000110) {
438 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
439 }
else if constexpr (NEIGHBORS == 1001010) {
443 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
444 }
else if constexpr (NEIGHBORS == 1010010) {
448 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
449 }
else if constexpr (NEIGHBORS == 1100010) {
453 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
454 }
else if constexpr (NEIGHBORS == 10000110) {
458 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
459 }
else if constexpr (NEIGHBORS == 10001010) {
463 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
464 }
else if constexpr (NEIGHBORS == 10010010) {
468 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
469 }
else if constexpr (NEIGHBORS == 10100010) {
473 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
474 }
else if constexpr (NEIGHBORS == 11000010) {
478 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
479 }
else if constexpr (NEIGHBORS == 11100) {
483 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
484 }
else if constexpr (NEIGHBORS == 101100) {
488 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
489 }
else if constexpr (NEIGHBORS == 110100) {
493 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
494 }
else if constexpr (NEIGHBORS == 1001100) {
498 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
499 }
else if constexpr (NEIGHBORS == 1010100) {
503 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
504 }
else if constexpr (NEIGHBORS == 1100100) {
508 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
509 }
else if constexpr (NEIGHBORS == 10001100) {
513 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
514 }
else if constexpr (NEIGHBORS == 10010100) {
518 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
519 }
else if constexpr (NEIGHBORS == 10100100) {
523 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
524 }
else if constexpr (NEIGHBORS == 11000100) {
528 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
529 }
else if constexpr (NEIGHBORS == 111000) {
533 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
534 }
else if constexpr (NEIGHBORS == 1011000) {
538 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
539 }
else if constexpr (NEIGHBORS == 1101000) {
543 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
544 }
else if constexpr (NEIGHBORS == 10011000) {
548 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
549 }
else if constexpr (NEIGHBORS == 10101000) {
553 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
554 }
else if constexpr (NEIGHBORS == 11001000) {
558 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
559 }
else if constexpr (NEIGHBORS == 1110000) {
563 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
564 }
else if constexpr (NEIGHBORS == 10110000) {
568 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
569 }
else if constexpr (NEIGHBORS == 11010000) {
573 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
574 }
else if constexpr (NEIGHBORS == 11100000) {
578 interpolate3d_help<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC);
582 else if constexpr (NEIGHBORS == 11) {
586 }
else if constexpr (NEIGHBORS == 101) {
590 }
else if constexpr (NEIGHBORS == 1001) {
594 }
else if constexpr (NEIGHBORS == 10001) {
598 }
else if constexpr (NEIGHBORS == 100001) {
602 }
else if constexpr (NEIGHBORS == 1000001) {
606 }
else if constexpr (NEIGHBORS == 10000001) {
610 }
else if constexpr (NEIGHBORS == 110) {
614 }
else if constexpr (NEIGHBORS == 1010) {
618 }
else if constexpr (NEIGHBORS == 10010) {
622 }
else if constexpr (NEIGHBORS == 100010) {
626 }
else if constexpr (NEIGHBORS == 1000010) {
630 }
else if constexpr (NEIGHBORS == 10000010) {
634 }
else if constexpr (NEIGHBORS == 1100) {
638 }
else if constexpr (NEIGHBORS == 10100) {
642 }
else if constexpr (NEIGHBORS == 100100) {
646 }
else if constexpr (NEIGHBORS == 1000100) {
650 }
else if constexpr (NEIGHBORS == 10000100) {
654 }
else if constexpr (NEIGHBORS == 11000) {
658 }
else if constexpr (NEIGHBORS == 101000) {
662 }
else if constexpr (NEIGHBORS == 1001000) {
666 }
else if constexpr (NEIGHBORS == 10001000) {
670 }
else if constexpr (NEIGHBORS == 110000) {
674 }
else if constexpr (NEIGHBORS == 1010000) {
678 }
else if constexpr (NEIGHBORS == 10010000) {
682 }
else if constexpr (NEIGHBORS == 1100000) {
686 }
else if constexpr (NEIGHBORS == 10100000) {
690 }
else if constexpr (NEIGHBORS == 11000000) {
696 else if constexpr (NEIGHBORS == 1) {
698 f(cell.neighbor(point), result);
699 }
else if constexpr (NEIGHBORS == 10) {
701 f(cell.neighbor(point), result);
702 }
else if constexpr (NEIGHBORS == 100) {
704 f(cell.neighbor(point), result);
705 }
else if constexpr (NEIGHBORS == 1000) {
707 f(cell.neighbor(point), result);
708 }
else if constexpr (NEIGHBORS == 10000) {
710 f(cell.neighbor(point), result);
711 }
else if constexpr (NEIGHBORS == 100000) {
713 f(cell.neighbor(point), result);
714 }
else if constexpr (NEIGHBORS == 1000000) {
716 f(cell.neighbor(point), result);
717 }
else if constexpr (NEIGHBORS == 10000000) {
719 f(cell.neighbor(point), result);
723 else if constexpr ((NEIGHBORS % 100000 == 10111) || (NEIGHBORS % 100000 == 11111)) {
728 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
729 }
else if constexpr ((NEIGHBORS % 1000000 == 100111) || (NEIGHBORS % 1000000 == 101111)) {
734 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
735 }
else if constexpr ((NEIGHBORS == 1000111) || (NEIGHBORS == 11000111) || (NEIGHBORS == 11001111) || (NEIGHBORS == 1001111)) {
740 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
741 }
else if constexpr ((NEIGHBORS == 10000111) || (NEIGHBORS == 10001111)) {
746 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
748 else if constexpr (NEIGHBORS % 100000 == 11011) {
753 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
754 }
else if constexpr (NEIGHBORS % 1000000 == 101011) {
759 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
760 }
else if constexpr ((NEIGHBORS == 1001011) || (NEIGHBORS == 11001011)) {
765 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
766 }
else if constexpr (NEIGHBORS == 10001011) {
771 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
773 else if constexpr (NEIGHBORS % 100000 == 11101) {
778 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
779 }
else if constexpr (NEIGHBORS % 1000000 == 101101) {
784 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
785 }
else if constexpr ((NEIGHBORS == 1001101) || (NEIGHBORS == 11001101)) {
790 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
791 }
else if constexpr (NEIGHBORS == 10001101) {
796 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
798 else if constexpr (NEIGHBORS % 100000 == 11110) {
803 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
804 }
else if constexpr (NEIGHBORS % 1000000 == 101110) {
809 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
810 }
else if constexpr ((NEIGHBORS == 1001110) || (NEIGHBORS == 11001110)) {
815 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
816 }
else if constexpr (NEIGHBORS == 10001110) {
821 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
823 else if constexpr (NEIGHBORS == 11101000) {
828 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
829 }
else if constexpr (NEIGHBORS == 11100100) {
834 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
835 }
else if constexpr (NEIGHBORS == 11100010) {
840 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
841 }
else if constexpr (NEIGHBORS == 11100001) {
846 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
848 else if constexpr (NEIGHBORS == 11011000) {
853 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
854 }
else if constexpr (NEIGHBORS == 11010100) {
859 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
860 }
else if constexpr ((NEIGHBORS == 11010010) || (NEIGHBORS == 11110010)) {
865 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
866 }
else if constexpr (NEIGHBORS == 11010001) {
871 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
873 else if constexpr (NEIGHBORS == 10111000) {
878 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
879 }
else if constexpr (NEIGHBORS == 10110100) {
884 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
885 }
else if constexpr (NEIGHBORS == 10110010) {
890 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
891 }
else if constexpr (NEIGHBORS == 10110001) {
896 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
898 else if constexpr ((NEIGHBORS == 1111000) || (NEIGHBORS == 11111000)) {
903 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
904 }
else if constexpr ((NEIGHBORS == 1110100) || (NEIGHBORS == 11110100)) {
909 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
910 }
else if constexpr (NEIGHBORS == 1110010) {
915 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
916 }
else if constexpr ((NEIGHBORS == 1110001) || (NEIGHBORS == 11110001)) {
921 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
923 else if constexpr (NEIGHBORS == 10101100) {
928 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
929 }
else if constexpr (NEIGHBORS == 10101001) {
934 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
936 else if constexpr ((NEIGHBORS == 10100110) || (NEIGHBORS == 11100110)) {
941 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
942 }
else if constexpr (NEIGHBORS == 10100011) {
947 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
949 else if constexpr (NEIGHBORS == 11001010) {
954 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
955 }
else if constexpr (NEIGHBORS == 10011010) {
960 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
962 else if constexpr ((NEIGHBORS == 1101010) || (NEIGHBORS == 11101010)) {
967 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
968 }
else if constexpr (NEIGHBORS % 1000000 == 111010) {
973 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
975 else if constexpr ((NEIGHBORS == 1011100) || (NEIGHBORS == 1111100) || (NEIGHBORS == 11111100) || (NEIGHBORS == 11011100)) {
980 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
981 }
else if constexpr ((NEIGHBORS == 1010110) || (NEIGHBORS == 11010110)) {
986 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
988 else if constexpr ((NEIGHBORS == 1011001) || (NEIGHBORS == 11011001)) {
993 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
994 }
else if constexpr ((NEIGHBORS == 1010011) || (NEIGHBORS == 1110011) || (NEIGHBORS == 11110011) || (NEIGHBORS == 11010011)) {
999 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1001 else if constexpr (NEIGHBORS == 11000101) {
1006 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1007 }
else if constexpr ((NEIGHBORS == 1100101) || (NEIGHBORS == 11100101)) {
1012 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1014 else if constexpr ((NEIGHBORS == 10010101) || (NEIGHBORS == 11010101)) {
1019 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1020 }
else if constexpr (NEIGHBORS % 1000000 == 110101) {
1025 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1027 else if constexpr (NEIGHBORS == 11001001) {
1032 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1033 }
else if constexpr (NEIGHBORS == 11000110) {
1038 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1039 }
else if constexpr ((NEIGHBORS == 10011100) || (NEIGHBORS == 10111100)) {
1044 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1045 }
else if constexpr ((NEIGHBORS == 1101100) || (NEIGHBORS == 11101100)) {
1050 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1051 }
else if constexpr (NEIGHBORS % 1000000 == 110110) {
1056 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1057 }
else if constexpr (NEIGHBORS % 1000000 == 111001) {
1062 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1063 }
else if constexpr ((NEIGHBORS == 1100011) || (NEIGHBORS == 11100011)) {
1068 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1069 }
else if constexpr ((NEIGHBORS == 10010011) || (NEIGHBORS == 10110011)) {
1074 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1076 else if constexpr (NEIGHBORS == 10010110) {
1081 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1082 }
else if constexpr ((NEIGHBORS == 1101001) || (NEIGHBORS == 11101001)) {
1087 interpolate3d_help_li<DataDim,CELL,RESULT,F,V>(cell, result, distance, f, pointA, pointB, pointC, pointD);
1091 std::string s =
"Invalid NEIGHBORS" + std::to_string(NEIGHBORS);
1092 throw std::invalid_argument(s);