From f170e131e54a2a126df4369efae2812c0c6f6dd5 Mon Sep 17 00:00:00 2001 From: nicolas-f <1382241+nicolas-f@users.noreply.github.com> Date: Tue, 10 Dec 2024 13:17:54 +0100 Subject: [PATCH] complete pathfinder test with json --- .../pathfinder/test_cases/TC07.json | 115 ++++ .../pathfinder/test_cases/TC08_Direct.json | 115 ++++ .../pathfinder/test_cases/TC08_Left.json | 58 ++ .../pathfinder/test_cases/TC08_Right.json | 58 ++ .../pathfinder/test_cases/TC09_Direct.json | 133 ++++ .../pathfinder/test_cases/TC09_Left.json | 76 ++ .../pathfinder/test_cases/TC09_Right.json | 76 ++ .../pathfinder/test_cases/TC10_Direct.json | 119 ++++ .../pathfinder/test_cases/TC10_Left.json | 49 ++ .../pathfinder/test_cases/TC10_Right.json | 49 ++ .../pathfinder/test_cases/TC11_Direct.json | 119 ++++ .../pathfinder/test_cases/TC11_Left.json | 137 ++++ .../pathfinder/test_cases/TC11_Right.json | 137 ++++ .../pathfinder/test_cases/TC12_Direct.json | 128 ++++ .../pathfinder/test_cases/TC12_Left.json | 58 ++ .../pathfinder/test_cases/TC12_Right.json | 58 ++ .../pathfinder/test_cases/TC13_Direct.json | 155 +++++ .../pathfinder/test_cases/TC13_Left.json | 76 ++ .../pathfinder/test_cases/TC13_Right.json | 85 +++ .../pathfinder/test_cases/TC14_Direct.json | 119 ++++ .../pathfinder/test_cases/TC14_Left.json | 137 ++++ .../pathfinder/test_cases/TC14_Right.json | 137 ++++ .../pathfinder/test_cases/TC15_Direct.json | 304 ++++++++ .../pathfinder/test_cases/TC15_Left.json | 67 ++ .../pathfinder/test_cases/TC15_Right.json | 67 ++ .../pathfinder/test_cases/TC16_Direct.json | 67 ++ .../pathfinder/test_cases/TC16_Left.json | 90 +++ .../pathfinder/test_cases/TC17_Direct.json | 67 ++ .../pathfinder/test_cases/TC17_Left.json | 90 +++ .../test_cases/TC18Altered_Direct.json | 67 ++ .../test_cases/TC18Altered_Left.json | 156 +++++ .../pathfinder/test_cases/TC18_Direct.json | 67 ++ .../pathfinder/test_cases/TC18_Left.json | 156 +++++ .../pathfinder/test_cases/TC19_Direct.json | 287 ++++++++ .../pathfinder/test_cases/TC19_Right.json | 85 +++ .../pathfinder/test_cases/TC20.json | 67 ++ .../pathfinder/test_cases/TC21_Direct.json | 155 +++++ .../pathfinder/test_cases/TC21_Left.json | 76 ++ .../pathfinder/test_cases/TC21_Right.json | 76 ++ .../pathfinder/test_cases/TC22_Direct.json | 155 +++++ .../pathfinder/test_cases/TC22_Left.json | 94 +++ .../pathfinder/test_cases/TC22_Right.json | 85 +++ .../pathfinder/test_cases/TC23_Direct.json | 85 +++ .../pathfinder/test_cases/TC24_Direct.json | 173 +++++ .../pathfinder/test_cases/TC24_Left.json | 108 +++ .../pathfinder/test_cases/TC25_Direct.json | 185 +++++ .../pathfinder/test_cases/TC25_Left.json | 40 ++ .../test_cases/TC25_Reflection.json | 120 ++++ .../pathfinder/test_cases/TC25_Right.json | 58 ++ .../pathfinder/test_cases/TC26_Direct.json | 40 ++ .../test_cases/TC26_Reflection.json | 63 ++ .../pathfinder/test_cases/TC27_Direct.json | 58 ++ .../test_cases/TC27_Reflection.json | 81 +++ .../pathfinder/test_cases/TC28_Direct.json | 647 ++++++++++++++++++ .../pathfinder/test_cases/TC28_Right.json | 76 ++ 55 files changed, 6206 insertions(+) create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC07.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC08_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC08_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC08_Right.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC09_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC09_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC09_Right.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC10_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC10_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC10_Right.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC11_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC11_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC11_Right.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC12_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC12_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC12_Right.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC13_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC13_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC13_Right.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC14_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC14_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC14_Right.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC15_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC15_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC15_Right.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC16_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC16_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC17_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC17_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18Altered_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18Altered_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC19_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC19_Right.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC20.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC21_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC21_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC21_Right.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC22_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC22_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC22_Right.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC23_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC24_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC24_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Left.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Reflection.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Right.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC26_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC26_Reflection.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC27_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC27_Reflection.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC28_Direct.json create mode 100644 noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC28_Right.json diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC07.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC07.json new file mode 100644 index 000000000..3290305a0 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC07.json @@ -0,0 +1,115 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 18.42105263157895, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 39.473684210526315, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 176.57888256132614, + "y" : 45.06923843396339, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 100.0, + "y" : 240.0, + "z" : 6.0 + }, + "p1" : { + "x" : 265.0, + "y" : -180.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 176.57986111111111, + "y" : 45.06944444444444, + "z" : 6.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 100.0, + "y" : 240.0, + "z" : 6.0 + }, + "p1" : { + "x" : 265.0, + "y" : -180.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 176.5808396608961, + "y" : 45.069650454925494, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 100.0, + "y" : 240.0, + "z" : 6.0 + }, + "p1" : { + "x" : 265.0, + "y" : -180.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC08_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC08_Direct.json new file mode 100644 index 000000000..70cfa7fd2 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC08_Direct.json @@ -0,0 +1,115 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 18.42105263157895, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 39.473684210526315, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 176.82828974289797, + "y" : 45.12174520903115, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 175.0, + "y" : 50.0, + "z" : 6.0 + }, + "p1" : { + "x" : 190.0, + "y" : 10.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 176.82926829268294, + "y" : 45.1219512195122, + "z" : 6.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 175.0, + "y" : 50.0, + "z" : 6.0 + }, + "p1" : { + "x" : 190.0, + "y" : 10.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 176.83024684246791, + "y" : 45.12215722999325, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 175.0, + "y" : 50.0, + "z" : 6.0 + }, + "p1" : { + "x" : 190.0, + "y" : 10.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC08_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC08_Left.json new file mode 100644 index 000000000..2ea15ec25 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC08_Left.json @@ -0,0 +1,58 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 19.700684179216744, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 43.952394627258606, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 174.99473314837618, + "y" : 50.014044937663535, + "z" : 3.621980989047588 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC08_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC08_Right.json new file mode 100644 index 000000000..fcb2022c7 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC08_Right.json @@ -0,0 +1,58 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 9.996878994062966, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 9.989076479220378, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 190.00526685162382, + "y" : 9.985955062336464, + "z" : 3.721520337212358 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC09_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC09_Direct.json new file mode 100644 index 000000000..d3d4cd9ad --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC09_Direct.json @@ -0,0 +1,133 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 18.42105263157895, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 33.1578947368421, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 39.473684210526315, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 176.82828974289797, + "y" : 45.12174520903115, + "z" : 8.742813806599687 + }, + "zGround" : 8.742813806599687, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 175.0, + "y" : 50.0, + "z" : 17.0 + }, + "p1" : { + "x" : 190.0, + "y" : 10.0, + "z" : 14.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 176.82926829268294, + "y" : 45.1219512195122, + "z" : 16.634146341463413 + }, + "zGround" : 8.742964352720453, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 175.0, + "y" : 50.0, + "z" : 17.0 + }, + "p1" : { + "x" : 190.0, + "y" : 10.0, + "z" : 14.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 176.83024684246791, + "y" : 45.12215722999325, + "z" : 8.743114898841217 + }, + "zGround" : 8.743114898841217, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 175.0, + "y" : 50.0, + "z" : 17.0 + }, + "p1" : { + "x" : 190.0, + "y" : 10.0, + "z" : 14.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 46.8421052631579, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC09_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC09_Left.json new file mode 100644 index 000000000..e3c32e5f9 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC09_Left.json @@ -0,0 +1,76 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 19.700684179216744, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 36.67688149284605, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 43.952394627258606, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 174.99473314837618, + "y" : 50.014044937663535, + "z" : 12.361917619206213 + }, + "zGround" : 8.460728176673259, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 50.0084251876296, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC09_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC09_Right.json new file mode 100644 index 000000000..aae792bef --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC09_Right.json @@ -0,0 +1,76 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 9.996878994062966, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 9.991417233673154, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 9.989076479220378, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 9.986345599025473, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 190.00526685162382, + "y" : 9.985955062336464, + "z" : 12.793254794586883 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC10_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC10_Direct.json new file mode 100644 index 000000000..8cce342af --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC10_Direct.json @@ -0,0 +1,119 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 50.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "Wall", + "coordinate" : { + "x" : 54.999, + "y" : 10.0, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 55.0, + "y" : 5.0, + "z" : 10.0 + }, + "p1" : { + "x" : 55.0, + "y" : 15.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 55.0, + "y" : 10.0, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 55.0, + "y" : 5.0, + "z" : 10.0 + }, + "p1" : { + "x" : 55.0, + "y" : 15.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 65.0, + "y" : 10.0, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 65.0, + "y" : 15.0, + "z" : 10.0 + }, + "p1" : { + "x" : 65.0, + "y" : 5.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 65.001, + "y" : 10.0, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 65.0, + "y" : 15.0, + "z" : 10.0 + }, + "p1" : { + "x" : 65.0, + "y" : 5.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 70.0, + "y" : 10.0, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC10_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC10_Left.json new file mode 100644 index 000000000..e79b75f11 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC10_Left.json @@ -0,0 +1,49 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 50.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 54.9893933982822, + "y" : 15.010606601717798, + "z" : 1.7484090097423317 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 65.0106066017178, + "y" : 15.010606601717798, + "z" : 3.25159099025767 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 70.0, + "y" : 10.0, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC10_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC10_Right.json new file mode 100644 index 000000000..c7f130f08 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC10_Right.json @@ -0,0 +1,49 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 50.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 54.9893933982822, + "y" : 4.989393398282202, + "z" : 1.7484090097423317 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 65.0106066017178, + "y" : 4.989393398282202, + "z" : 3.25159099025767 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 70.0, + "y" : 10.0, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC11_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC11_Direct.json new file mode 100644 index 000000000..fa0d7f115 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC11_Direct.json @@ -0,0 +1,119 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 50.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "Wall", + "coordinate" : { + "x" : 54.999, + "y" : 10.0, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 55.0, + "y" : 5.0, + "z" : 10.0 + }, + "p1" : { + "x" : 55.0, + "y" : 15.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 55.0, + "y" : 10.0, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 55.0, + "y" : 5.0, + "z" : 10.0 + }, + "p1" : { + "x" : 55.0, + "y" : 15.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 65.0, + "y" : 10.0, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 65.0, + "y" : 15.0, + "z" : 10.0 + }, + "p1" : { + "x" : 65.0, + "y" : 5.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 65.001, + "y" : 10.0, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 65.0, + "y" : 15.0, + "z" : 10.0 + }, + "p1" : { + "x" : 65.0, + "y" : 5.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 70.0, + "y" : 10.0, + "z" : 15.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC11_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC11_Left.json new file mode 100644 index 000000000..ef1989236 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC11_Left.json @@ -0,0 +1,137 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 50.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 54.9893933982822, + "y" : 15.010606601717798, + "z" : 4.492575378797543 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 62.878571428571426, + "y" : 15.010606601717798, + "z" : 10.015 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 62.89364628128347, + "y" : 15.001, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 55.0, + "y" : 15.0, + "z" : 10.0 + }, + "p1" : { + "x" : 65.0, + "y" : 15.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 62.89364628128347, + "y" : 15.0, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 55.0, + "y" : 15.0, + "z" : 10.0 + }, + "p1" : { + "x" : 65.0, + "y" : 15.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 65.0, + "y" : 13.517978556873077, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 65.0, + "y" : 15.0, + "z" : 10.0 + }, + "p1" : { + "x" : 65.0, + "y" : 5.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 65.001, + "y" : 13.517978556873077, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 65.0, + "y" : 15.0, + "z" : 10.0 + }, + "p1" : { + "x" : 65.0, + "y" : 5.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 70.0, + "y" : 10.0, + "z" : 15.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC11_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC11_Right.json new file mode 100644 index 000000000..db1d538cf --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC11_Right.json @@ -0,0 +1,137 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 50.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 54.9893933982822, + "y" : 4.989393398282202, + "z" : 4.492575378797543 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 62.878571428571426, + "y" : 4.989393398282202, + "z" : 10.015 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 62.89364628128347, + "y" : 4.999, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 65.0, + "y" : 5.0, + "z" : 10.0 + }, + "p1" : { + "x" : 55.0, + "y" : 5.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 62.89364628128347, + "y" : 5.0, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 65.0, + "y" : 5.0, + "z" : 10.0 + }, + "p1" : { + "x" : 55.0, + "y" : 5.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 65.0, + "y" : 6.482021443126923, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 65.0, + "y" : 15.0, + "z" : 10.0 + }, + "p1" : { + "x" : 65.0, + "y" : 5.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 65.001, + "y" : 6.482021443126923, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 65.0, + "y" : 15.0, + "z" : 10.0 + }, + "p1" : { + "x" : 65.0, + "y" : 5.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 70.0, + "y" : 10.0, + "z" : 15.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC12_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC12_Direct.json new file mode 100644 index 000000000..9fec567ed --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC12_Direct.json @@ -0,0 +1,128 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 0.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 0.0, + "y" : 10.0, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 11.646130346838525, + "y" : 13.881981550500116, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 12.0, + "y" : 13.0, + "z" : 10.0 + }, + "p1" : { + "x" : 11.0, + "y" : 15.5, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 11.647058823529411, + "y" : 13.882352941176471, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 12.0, + "y" : 13.0, + "z" : 10.0 + }, + "p1" : { + "x" : 11.0, + "y" : 15.5, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 17.823529411764707, + "y" : 15.941176470588236, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 17.0, + "y" : 18.0, + "z" : 10.0 + }, + "p1" : { + "x" : 18.0, + "y" : 15.5, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 17.82445788845559, + "y" : 15.94154786126459, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 17.0, + "y" : 18.0, + "z" : 10.0 + }, + "p1" : { + "x" : 18.0, + "y" : 15.5, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 30.0, + "y" : 20.0, + "z" : 6.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC12_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC12_Left.json new file mode 100644 index 000000000..2babe96ff --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC12_Left.json @@ -0,0 +1,58 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 0.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 0.0, + "y" : 10.0, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 11.989393398282202, + "y" : 18.010606601717797, + "z" : 3.1989393398282195 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 14.5, + "y" : 19.015, + "z" : 3.6257499999999996 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 30.0, + "y" : 20.0, + "z" : 6.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC12_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC12_Right.json new file mode 100644 index 000000000..c9ea023a7 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC12_Right.json @@ -0,0 +1,58 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 0.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 0.0, + "y" : 10.0, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 14.5, + "y" : 11.985, + "z" : 3.2742500000000003 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 17.010606601717797, + "y" : 12.989393398282202, + "z" : 3.70106066017178 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 30.0, + "y" : 20.0, + "z" : 6.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC13_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC13_Direct.json new file mode 100644 index 000000000..8c927b651 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC13_Direct.json @@ -0,0 +1,155 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 18.42105263157895, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 33.1578947368421, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 39.473684210526315, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 170.55710811597964, + "y" : 43.80207299589469, + "z" : 7.778034514871682 + }, + "zGround" : 7.778034514871682, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 169.4, + "y" : 41.0, + "z" : 30.0 + }, + "p1" : { + "x" : 172.5, + "y" : 48.5, + "z" : 30.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 170.55803228285933, + "y" : 43.80169100691776, + "z" : 30.0 + }, + "zGround" : 7.77815881274759, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 169.4, + "y" : 41.0, + "z" : 30.0 + }, + "p1" : { + "x" : 172.5, + "y" : 48.5, + "z" : 30.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 46.8421052631579, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 187.9302775984506, + "y" : 47.45900581020013, + "z" : 30.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 187.5, + "y" : 48.5, + "z" : 30.0 + }, + "p1" : { + "x" : 190.6, + "y" : 41.0, + "z" : 30.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 187.9312017653303, + "y" : 47.459387799177065, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 187.5, + "y" : 48.5, + "z" : 30.0 + }, + "p1" : { + "x" : 190.6, + "y" : 41.0, + "z" : 30.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 28.5 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC13_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC13_Left.json new file mode 100644 index 000000000..e99078be3 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC13_Left.json @@ -0,0 +1,76 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 19.791764705882354, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 36.92735294117647, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 44.27117647058824, + "z" : 4.615384615384615 + }, + "zGround" : 4.615384615384615, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 180.0, + "y" : 51.615, + "z" : 25.77523872679045 + }, + "zGround" : 9.23076923076923, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 51.21125, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 28.5 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC13_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC13_Right.json new file mode 100644 index 000000000..fa20c3132 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC13_Right.json @@ -0,0 +1,85 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 14.796470588235294, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 23.190294117647056, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 26.787647058823527, + "z" : 4.615384615384615 + }, + "zGround" : 4.615384615384615, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 180.0, + "y" : 30.384999999999998, + "z" : 25.15579575596816 + }, + "zGround" : 9.23076923076923, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 32.451672882036036, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 187.5106066017178, + "y" : 33.4893933982822, + "z" : 26.287301120214472 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 28.5 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC14_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC14_Direct.json new file mode 100644 index 000000000..c2363b47e --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC14_Direct.json @@ -0,0 +1,119 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 8.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "Wall", + "coordinate" : { + "x" : 12.65439051408555, + "y" : 12.737166761404351, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 14.5, + "y" : 12.0, + "z" : 10.0 + }, + "p1" : { + "x" : 12.0, + "y" : 13.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 12.654761904761905, + "y" : 12.738095238095237, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 14.5, + "y" : 12.0, + "z" : 10.0 + }, + "p1" : { + "x" : 12.0, + "y" : 13.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 17.876190476190477, + "y" : 15.80952380952381, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 17.0, + "y" : 18.0, + "z" : 10.0 + }, + "p1" : { + "x" : 18.0, + "y" : 15.5, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 17.87711895288136, + "y" : 15.809895200200165, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 17.0, + "y" : 18.0, + "z" : 10.0 + }, + "p1" : { + "x" : 18.0, + "y" : 15.5, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 25.0, + "y" : 20.0, + "z" : 23.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC14_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC14_Left.json new file mode 100644 index 000000000..848a75384 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC14_Left.json @@ -0,0 +1,137 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 8.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 11.989393398282202, + "y" : 18.010606601717797, + "z" : 9.365980934024313 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 12.535846207121791, + "y" : 18.22922053880205, + "z" : 10.015 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 12.593172806893662, + "y" : 18.23834615571889, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 12.0, + "y" : 18.0, + "z" : 10.0 + }, + "p1" : { + "x" : 14.5, + "y" : 19.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 12.593544197570017, + "y" : 18.237417679028006, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 12.0, + "y" : 18.0, + "z" : 10.0 + }, + "p1" : { + "x" : 14.5, + "y" : 19.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 15.407138916678251, + "y" : 18.6371444333287, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 14.5, + "y" : 19.0, + "z" : 10.0 + }, + "p1" : { + "x" : 17.0, + "y" : 18.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 15.407510307354606, + "y" : 18.638072910019584, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 14.5, + "y" : 19.0, + "z" : 10.0 + }, + "p1" : { + "x" : 17.0, + "y" : 18.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 25.0, + "y" : 20.0, + "z" : 23.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC14_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC14_Right.json new file mode 100644 index 000000000..ae5b4aaef --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC14_Right.json @@ -0,0 +1,137 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 8.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 14.5, + "y" : 11.985, + "z" : 8.371979434447299 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 15.88336953426437, + "y" : 12.538430882659663, + "z" : 10.015 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 15.919388397870817, + "y" : 12.5666783261869, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 17.0, + "y" : 13.0, + "z" : 10.0 + }, + "p1" : { + "x" : 14.5, + "y" : 12.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 15.919017007194462, + "y" : 12.567606802877785, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 17.0, + "y" : 13.0, + "z" : 10.0 + }, + "p1" : { + "x" : 14.5, + "y" : 12.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 17.269005768150254, + "y" : 13.672514420375636, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 18.0, + "y" : 15.5, + "z" : 10.0 + }, + "p1" : { + "x" : 17.0, + "y" : 13.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 17.26993424484114, + "y" : 13.672143029699281, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 18.0, + "y" : 15.5, + "z" : 10.0 + }, + "p1" : { + "x" : 17.0, + "y" : 13.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 25.0, + "y" : 20.0, + "z" : 23.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC15_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC15_Direct.json new file mode 100644 index 000000000..23c5b6a52 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC15_Direct.json @@ -0,0 +1,304 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 50.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "Wall", + "coordinate" : { + "x" : 54.999, + "y" : 10.5, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 55.0, + "y" : 5.0, + "z" : 8.0 + }, + "p1" : { + "x" : 55.0, + "y" : 15.0, + "z" : 8.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 55.0, + "y" : 10.5, + "z" : 8.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 55.0, + "y" : 5.0, + "z" : 8.0 + }, + "p1" : { + "x" : 55.0, + "y" : 15.0, + "z" : 8.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 65.0, + "y" : 11.5, + "z" : 8.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 65.0, + "y" : 15.0, + "z" : 8.0 + }, + "p1" : { + "x" : 65.0, + "y" : 5.0, + "z" : 8.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 65.001, + "y" : 11.5, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 65.0, + "y" : 15.0, + "z" : 8.0 + }, + "p1" : { + "x" : 65.0, + "y" : 5.0, + "z" : 8.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 74.71658610432482, + "y" : 12.470779444019966, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 80.0, + "y" : 10.2, + "z" : 12.0 + }, + "p1" : { + "x" : 70.0, + "y" : 14.5, + "z" : 12.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 74.71698113207547, + "y" : 12.471698113207546, + "z" : 12.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 80.0, + "y" : 10.2, + "z" : 12.0 + }, + "p1" : { + "x" : 70.0, + "y" : 14.5, + "z" : 12.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 80.0, + "y" : 13.0, + "z" : 12.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 80.0, + "y" : 20.2, + "z" : 12.0 + }, + "p1" : { + "x" : 80.0, + "y" : 10.2, + "z" : 12.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 80.001, + "y" : 13.0, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 80.0, + "y" : 20.2, + "z" : 12.0 + }, + "p1" : { + "x" : 80.0, + "y" : 10.2, + "z" : 12.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 86.99157135021863, + "y" : 13.699717504431382, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 84.1, + "y" : 8.3, + "z" : 10.0 + }, + "p1" : { + "x" : 90.1, + "y" : 19.5, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 86.99245283018867, + "y" : 13.699245283018866, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 84.1, + "y" : 8.3, + "z" : 10.0 + }, + "p1" : { + "x" : 90.1, + "y" : 19.5, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 91.33584905660378, + "y" : 14.133584905660378, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 93.3, + "y" : 17.8, + "z" : 10.0 + }, + "p1" : { + "x" : 87.3, + "y" : 6.6, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 91.33673053657381, + "y" : 14.133112684247862, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 93.3, + "y" : 17.8, + "z" : 10.0 + }, + "p1" : { + "x" : 87.3, + "y" : 6.6, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 100.0, + "y" : 15.0, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 100.0, + "y" : 15.0, + "z" : 5.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC15_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC15_Left.json new file mode 100644 index 000000000..8a16fcae6 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC15_Left.json @@ -0,0 +1,67 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 50.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 54.9893933982822, + "y" : 15.010606601717798, + "z" : 1.4348874501745739 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 80.00753589129094, + "y" : 20.212969592994813, + "z" : 3.457729334700233 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 90.09563421510892, + "y" : 19.514350607035414, + "z" : 4.251253011945542 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 100.0, + "y" : 15.0, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 100.0, + "y" : 15.0, + "z" : 5.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC15_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC15_Right.json new file mode 100644 index 000000000..5bd8ebc2b --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC15_Right.json @@ -0,0 +1,67 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 50.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 54.9893933982822, + "y" : 4.989393398282202, + "z" : 1.3555115040087453 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 65.0106066017178, + "y" : 4.989393398282202, + "z" : 2.1492709656670104 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 87.30436578489108, + "y" : 6.585649392964587, + "z" : 3.927756889044556 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 100.0, + "y" : 15.0, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 100.0, + "y" : 15.0, + "z" : 5.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC16_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC16_Direct.json new file mode 100644 index 000000000..99afcb656 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC16_Direct.json @@ -0,0 +1,67 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 18.42105263157895, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 33.1578947368421, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 39.473684210526315, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 46.8421052631579, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC16_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC16_Left.json new file mode 100644 index 000000000..35f9c8962 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC16_Left.json @@ -0,0 +1,90 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 24.623655913978492, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 50.21505376344086, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Reflection", + "coordinate" : { + "x" : 131.8611297632127, + "y" : 54.551380773647644, + "z" : 9.517241379310345 + }, + "zGround" : 1.8247891943404138, + "groundCoefficient" : 0.5, + "wall" : { + "p0" : { + "x" : 114.0, + "y" : 52.0, + "z" : 15.0 + }, + "p1" : { + "x" : 170.0, + "y" : 60.0, + "z" : 15.0 + } + }, + "wallPrimaryKey" : -1, + "wallAlpha" : [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.5 ] + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 53.33978297397013, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 51.00193489219104, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC17_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC17_Direct.json new file mode 100644 index 000000000..a7537c741 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC17_Direct.json @@ -0,0 +1,67 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 18.42105263157895, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 33.1578947368421, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 39.473684210526315, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 46.8421052631579, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 11.5 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC17_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC17_Left.json new file mode 100644 index 000000000..17fef8423 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC17_Left.json @@ -0,0 +1,90 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 24.623655913978492, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 50.21505376344086, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Reflection", + "coordinate" : { + "x" : 131.8611297632127, + "y" : 54.551380773647644, + "z" : 7.879310344827585 + }, + "zGround" : 1.8247891943404138, + "groundCoefficient" : 0.5, + "wall" : { + "p0" : { + "x" : 114.0, + "y" : 52.0, + "z" : 15.0 + }, + "p1" : { + "x" : 170.0, + "y" : 60.0, + "z" : 15.0 + } + }, + "wallPrimaryKey" : -1, + "wallAlpha" : [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.5 ] + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 53.33978297397013, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 51.00193489219104, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 11.5 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18Altered_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18Altered_Direct.json new file mode 100644 index 000000000..744a9b585 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18Altered_Direct.json @@ -0,0 +1,67 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 18.42105263157895, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 33.1578947368421, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 39.473684210526315, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 46.8421052631579, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 12.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18Altered_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18Altered_Left.json new file mode 100644 index 000000000..4a3dbae5e --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18Altered_Left.json @@ -0,0 +1,156 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 24.623655913978492, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 89.98713021201213, + "y" : 39.24260674417648, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "wall" : { + "p0" : { + "x" : 87.0, + "y" : 50.0, + "z" : 12.0 + }, + "p1" : { + "x" : 92.0, + "y" : 32.0, + "z" : 12.0 + } + }, + "wallAlpha" : [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.5 ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 89.9880694143167, + "y" : 39.242950108459866, + "z" : 12.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "wall" : { + "p0" : { + "x" : 87.0, + "y" : 50.0, + "z" : 12.0 + }, + "p1" : { + "x" : 92.0, + "y" : 32.0, + "z" : 12.0 + } + }, + "wallAlpha" : [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.5 ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 89.98900861662126, + "y" : 39.243293472743254, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "wall" : { + "p0" : { + "x" : 87.0, + "y" : 50.0, + "z" : 12.0 + }, + "p1" : { + "x" : 92.0, + "y" : 32.0, + "z" : 12.0 + } + }, + "wallAlpha" : [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.5 ] + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 50.21505376344086, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Reflection", + "coordinate" : { + "x" : 131.8611297632127, + "y" : 54.551380773647644, + "z" : 8.206896551724139 + }, + "zGround" : 1.8247891943404138, + "groundCoefficient" : 0.5, + "wall" : { + "p0" : { + "x" : 114.0, + "y" : 52.0, + "z" : 9.0 + }, + "p1" : { + "x" : 170.0, + "y" : 60.0, + "z" : 15.0 + } + }, + "wallPrimaryKey" : -1, + "wallAlpha" : [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.5 ] + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 53.33978297397013, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 51.00193489219104, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 12.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18_Direct.json new file mode 100644 index 000000000..744a9b585 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18_Direct.json @@ -0,0 +1,67 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 18.42105263157895, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 33.1578947368421, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 39.473684210526315, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 46.8421052631579, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 12.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18_Left.json new file mode 100644 index 000000000..b78658556 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC18_Left.json @@ -0,0 +1,156 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 24.623655913978492, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 89.98713021201213, + "y" : 39.24260674417648, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "wall" : { + "p0" : { + "x" : 87.0, + "y" : 50.0, + "z" : 12.0 + }, + "p1" : { + "x" : 92.0, + "y" : 32.0, + "z" : 12.0 + } + }, + "wallAlpha" : [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.5 ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 89.9880694143167, + "y" : 39.242950108459866, + "z" : 12.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "wall" : { + "p0" : { + "x" : 87.0, + "y" : 50.0, + "z" : 12.0 + }, + "p1" : { + "x" : 92.0, + "y" : 32.0, + "z" : 12.0 + } + }, + "wallAlpha" : [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.5 ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 89.98900861662126, + "y" : 39.243293472743254, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "wall" : { + "p0" : { + "x" : 87.0, + "y" : 50.0, + "z" : 12.0 + }, + "p1" : { + "x" : 92.0, + "y" : 32.0, + "z" : 12.0 + } + }, + "wallAlpha" : [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.5 ] + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 50.21505376344086, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Reflection", + "coordinate" : { + "x" : 131.8611297632127, + "y" : 54.551380773647644, + "z" : 8.206896551724139 + }, + "zGround" : 1.8247891943404138, + "groundCoefficient" : 0.5, + "wall" : { + "p0" : { + "x" : 114.0, + "y" : 52.0, + "z" : 15.0 + }, + "p1" : { + "x" : 170.0, + "y" : 60.0, + "z" : 15.0 + } + }, + "wallPrimaryKey" : -1, + "wallAlpha" : [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.5 ] + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 53.33978297397013, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 51.00193489219104, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 12.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC19_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC19_Direct.json new file mode 100644 index 000000000..16de75445 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC19_Direct.json @@ -0,0 +1,287 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 14.210526315789474, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 109.999, + "y" : 20.526315789473685, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 110.0, + "y" : 15.0, + "z" : 7.0 + }, + "p1" : { + "x" : 110.0, + "y" : 24.0, + "z" : 7.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 110.0, + "y" : 20.526315789473685, + "z" : 7.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 110.0, + "y" : 15.0, + "z" : 7.0 + }, + "p1" : { + "x" : 110.0, + "y" : 24.0, + "z" : 7.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 118.0, + "y" : 21.36842105263158, + "z" : 7.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 118.0, + "y" : 24.0, + "z" : 7.0 + }, + "p1" : { + "x" : 118.0, + "y" : 15.0, + "z" : 7.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 118.001, + "y" : 21.36842105263158, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 118.0, + "y" : 24.0, + "z" : 7.0 + }, + "p1" : { + "x" : 118.0, + "y" : 15.0, + "z" : 7.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 21.57894736842105, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 24.736842105263158, + "z" : 4.615384615384615 + }, + "zGround" : 4.615384615384615, + "groundCoefficient" : 0.2 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 154.54011955290252, + "y" : 25.214749426621317, + "z" : 5.313864546600388 + }, + "zGround" : 5.313864546600388, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 156.0, + "y" : 28.0, + "z" : 14.0 + }, + "p1" : { + "x" : 145.0, + "y" : 7.0, + "z" : 14.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 154.54111405835545, + "y" : 25.214854111405835, + "z" : 14.0 + }, + "zGround" : 5.314017547439298, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 156.0, + "y" : 28.0, + "z" : 14.0 + }, + "p1" : { + "x" : 145.0, + "y" : 7.0, + "z" : 14.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 154.54210856380837, + "y" : 25.214958796190352, + "z" : 5.314170548278209 + }, + "zGround" : 5.314170548278209, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 156.0, + "y" : 28.0, + "z" : 14.0 + }, + "p1" : { + "x" : 145.0, + "y" : 7.0, + "z" : 14.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 180.7111267066683, + "y" : 27.96959228491245, + "z" : 9.34017333948743 + }, + "zGround" : 9.34017333948743, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 175.0, + "y" : 35.0, + "z" : 14.5 + }, + "p1" : { + "x" : 188.0, + "y" : 19.0, + "z" : 14.5 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 180.71212121212122, + "y" : 27.96969696969697, + "z" : 14.5 + }, + "zGround" : 9.34032634032634, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 175.0, + "y" : 35.0, + "z" : 14.5 + }, + "p1" : { + "x" : 188.0, + "y" : 19.0, + "z" : 14.5 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 180.71311571757414, + "y" : 27.969801654481486, + "z" : 9.340479341165253 + }, + "zGround" : 9.340479341165253, + "groundCoefficient" : 0.2, + "wall" : { + "p0" : { + "x" : 175.0, + "y" : 35.0, + "z" : 14.5 + }, + "p1" : { + "x" : 188.0, + "y" : 19.0, + "z" : 14.5 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 28.42105263157895, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 30.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC19_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC19_Right.json new file mode 100644 index 000000000..f56073000 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC19_Right.json @@ -0,0 +1,85 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 9.107128048862013, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 7.544602134370536, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 144.99303989507993, + "y" : 6.9867125269707975, + "z" : 10.113680925968763 + }, + "zGround" : 3.845083060781528, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 8.38366194614093, + "z" : 4.615384615384615 + }, + "zGround" : 4.615384615384615, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 18.148714721957905, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 188.00945888937642, + "y" : 18.988358289998256, + "z" : 13.110146208552308 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 30.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC20.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC20.json new file mode 100644 index 000000000..d114b64c1 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC20.json @@ -0,0 +1,67 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 13.157894736842104, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 18.68421052631579, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 21.05263157894737, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 23.81578947368421, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 25.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC21_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC21_Direct.json new file mode 100644 index 000000000..470f88568 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC21_Direct.json @@ -0,0 +1,155 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 13.157894736842104, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 18.68421052631579, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 21.05263157894737, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 156.2941442723584, + "y" : 21.54871053104759, + "z" : 5.5837045204459566 + }, + "zGround" : 5.5837045204459566, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 156.657, + "y" : 21.3409, + "z" : 11.5 + }, + "p1" : { + "x" : 141.1, + "y" : 30.3, + "z" : 11.5 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 156.29464332211882, + "y" : 21.5495771043778, + "z" : 11.5 + }, + "zGround" : 5.583791280325972, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 156.657, + "y" : 21.3409, + "z" : 11.5 + }, + "p1" : { + "x" : 141.1, + "y" : 30.3, + "z" : 11.5 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 156.803793238489, + "y" : 21.589773150407026, + "z" : 11.5 + }, + "zGround" : 5.662122036690614, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 159.7, + "y" : 26.5, + "z" : 11.5 + }, + "p1" : { + "x" : 156.657, + "y" : 21.3409, + "z" : 11.5 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 156.80465457123591, + "y" : 21.589265109169435, + "z" : 5.662247596990744 + }, + "zGround" : 5.662247596990744, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 159.7, + "y" : 26.5, + "z" : 11.5 + }, + "p1" : { + "x" : 156.657, + "y" : 21.3409, + "z" : 11.5 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 23.81578947368421, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 25.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC21_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC21_Left.json new file mode 100644 index 000000000..65a4ca22c --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC21_Left.json @@ -0,0 +1,76 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 20.888799794354412, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 39.944199434474626, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 48.110799280240435, + "z" : 4.615384615384615 + }, + "zGround" : 4.615384615384615, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 151.57110480678546, + "y" : 48.538485422666305, + "z" : 10.833327832902434 + }, + "zGround" : 4.857093047197763, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 32.29063258476862, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 25.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC21_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC21_Right.json new file mode 100644 index 000000000..4e4616d1e --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC21_Right.json @@ -0,0 +1,76 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 13.089139984034015, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 18.495134956093537, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 20.81198994411905, + "z" : 4.615384615384615 + }, + "zGround" : 4.615384615384615, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 156.66082275098404, + "y" : 21.326395291284754, + "z" : 11.033334598120607 + }, + "zGround" : 5.640126577074468, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 23.728539069532523, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 25.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC22_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC22_Direct.json new file mode 100644 index 000000000..20309417c --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC22_Direct.json @@ -0,0 +1,155 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 13.388873199661113, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 19.31940129906806, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 21.861056198813895, + "z" : 4.615384615384615 + }, + "zGround" : 4.615384615384615, + "groundCoefficient" : 0.2 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 178.999, + "y" : 24.3179892685682, + "z" : 9.076770327183839 + }, + "zGround" : 9.076770327183839, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 179.0, + "y" : 15.0, + "z" : 20.0 + }, + "p1" : { + "x" : 179.0, + "y" : 36.0, + "z" : 20.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 179.0, + "y" : 24.3179892685682, + "z" : 20.0 + }, + "zGround" : 9.076923076923077, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 179.0, + "y" : 15.0, + "z" : 20.0 + }, + "p1" : { + "x" : 179.0, + "y" : 36.0, + "z" : 20.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 24.826320248517366, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 187.0, + "y" : 24.99576390850042, + "z" : 20.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 187.0, + "y" : 30.0, + "z" : 20.0 + }, + "p1" : { + "x" : 187.0, + "y" : 21.0, + "z" : 20.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 187.001, + "y" : 24.99576390850042, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 187.0, + "y" : 30.0, + "z" : 20.0 + }, + "p1" : { + "x" : 187.0, + "y" : 21.0, + "z" : 20.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 187.05, + "y" : 25.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC22_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC22_Left.json new file mode 100644 index 000000000..cb368a673 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC22_Left.json @@ -0,0 +1,94 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 16.156742995204382, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 26.931043236812055, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 31.548600483215342, + "z" : 4.615384615384617 + }, + "zGround" : 4.615384615384617, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 178.9893933982822, + "y" : 36.0106066017178, + "z" : 13.480369267463196 + }, + "zGround" : 9.075291292043417, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 36.0106066017178, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 197.0106066017178, + "y" : 36.0106066017178, + "z" : 14.794157314518548 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 197.0106066017178, + "y" : 29.989393398282203, + "z" : 14.756967790935844 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 187.05, + "y" : 25.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC22_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC22_Right.json new file mode 100644 index 000000000..e67b055ef --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC22_Right.json @@ -0,0 +1,85 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.9, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 11.067189394002291, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 120.0, + "y" : 12.9347708335063, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 150.0, + "y" : 13.73516287900802, + "z" : 4.615384615384616 + }, + "zGround" : 4.615384615384616, + "groundCoefficient" : 0.2 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 185.0, + "y" : 14.668953598760023, + "z" : 10.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 197.0106066017178, + "y" : 14.989393398282202, + "z" : 14.66432153595483 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 197.0106066017178, + "y" : 21.010606601717797, + "z" : 14.701511059537532 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 187.05, + "y" : 25.0, + "z" : 14.0 + }, + "zGround" : 10.0, + "groundCoefficient" : 0.2, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC23_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC23_Direct.json new file mode 100644 index 000000000..8f4a60fb8 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC23_Direct.json @@ -0,0 +1,85 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 38.0, + "y" : 14.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 52.004797491120094, + "y" : 16.425468550998335, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 52.004797491120094, + "y" : 16.425468550998335, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 60.37449426052748, + "y" : 17.87500299149715, + "z" : 5.0 + }, + "zGround" : 5.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 61.54294356869077, + "y" : 18.077364864432674, + "z" : 5.0 + }, + "zGround" : 5.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 69.83036402828877, + "y" : 19.512650002000736, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 69.83134936032974, + "y" : 19.51282065008609, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 107.0, + "y" : 25.95, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : true +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC24_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC24_Direct.json new file mode 100644 index 000000000..1341ef94d --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC24_Direct.json @@ -0,0 +1,173 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 38.0, + "y" : 14.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 52.42955839014942, + "y" : 14.954897246406947, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 52.42955839014942, + "y" : 14.954897246406947, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 61.05310530816698, + "y" : 15.525573145393404, + "z" : 5.0 + }, + "zGround" : 5.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 62.24216524375934, + "y" : 15.60426093524878, + "z" : 5.0 + }, + "zGround" : 5.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 70.77572077133856, + "y" : 16.1689815216327, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 70.77671858884172, + "y" : 16.169047553673348, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0 + }, { + "type" : "Wall", + "coordinate" : { + "x" : 82.999, + "y" : 16.977941176470587, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 83.0, + "y" : 10.0, + "z" : 6.0 + }, + "p1" : { + "x" : 83.0, + "y" : 18.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2 ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 83.0, + "y" : 16.977941176470587, + "z" : 6.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 83.0, + "y" : 10.0, + "z" : 6.0 + }, + "p1" : { + "x" : 83.0, + "y" : 18.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2 ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 98.44444444444444, + "y" : 18.0, + "z" : 6.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 83.0, + "y" : 18.0, + "z" : 6.0 + }, + "p1" : { + "x" : 118.0, + "y" : 18.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2 ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 98.44444444444444, + "y" : 18.001, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 83.0, + "y" : 18.0, + "z" : 6.0 + }, + "p1" : { + "x" : 118.0, + "y" : 18.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2 ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 106.0, + "y" : 18.5, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : true +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC24_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC24_Left.json new file mode 100644 index 000000000..aa8078199 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC24_Left.json @@ -0,0 +1,108 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 38.0, + "y" : 14.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 51.580507307684954, + "y" : 17.89441018382142, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 51.580507307684954, + "y" : 17.89441018382142, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 59.69663524256688, + "y" : 20.221829223971383, + "z" : 5.0 + }, + "zGround" : 5.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 60.843642285853214, + "y" : 20.550750361384377, + "z" : 5.0 + }, + "zGround" : 5.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 68.88489965450628, + "y" : 22.856699165630477, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0 + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 68.88586091128134, + "y" : 22.856974820146856, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0 + }, { + "type" : "Reflection", + "coordinate" : { + "x" : 79.84519258937878, + "y" : 25.99972434548362, + "z" : 2.846153846153846 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 110.0, + "y" : 26.0, + "z" : 9.0 + }, + "p1" : { + "x" : 75.0, + "y" : 26.0, + "z" : 9.0 + } + }, + "wallPrimaryKey" : -1, + "wallAlpha" : [ 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2 ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 106.0, + "y" : 18.5, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Direct.json new file mode 100644 index 000000000..5172d28a4 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Direct.json @@ -0,0 +1,185 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 38.0, + "y" : 14.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "Wall", + "coordinate" : { + "x" : 61.71888255521985, + "y" : 15.569631933801315, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 59.19, + "y" : 24.47, + "z" : 5.0 + }, + "p1" : { + "x" : 64.17, + "y" : 6.95, + "z" : 5.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 61.719880372723004, + "y" : 15.569697965841964, + "z" : 5.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 59.19, + "y" : 24.47, + "z" : 5.0 + }, + "p1" : { + "x" : 64.17, + "y" : 6.95, + "z" : 5.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 61.72087819022616, + "y" : 15.569763997882614, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 59.19, + "y" : 24.47, + "z" : 5.0 + }, + "p1" : { + "x" : 64.17, + "y" : 6.95, + "z" : 5.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 82.999, + "y" : 16.977941176470587, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 83.0, + "y" : 10.0, + "z" : 6.0 + }, + "p1" : { + "x" : 83.0, + "y" : 18.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2 ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 83.0, + "y" : 16.977941176470587, + "z" : 6.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 83.0, + "y" : 10.0, + "z" : 6.0 + }, + "p1" : { + "x" : 83.0, + "y" : 18.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2 ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 98.44444444444444, + "y" : 18.0, + "z" : 6.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 83.0, + "y" : 18.0, + "z" : 6.0 + }, + "p1" : { + "x" : 118.0, + "y" : 18.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2 ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 98.44444444444444, + "y" : 18.001, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 83.0, + "y" : 18.0, + "z" : 6.0 + }, + "p1" : { + "x" : 118.0, + "y" : 18.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2 ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 106.0, + "y" : 18.5, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Left.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Left.json new file mode 100644 index 000000000..e8711a693 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Left.json @@ -0,0 +1,40 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 38.0, + "y" : 14.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 59.18589876540216, + "y" : 24.484428439789994, + "z" : 1.9610729680958596 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 106.0, + "y" : 18.5, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Reflection.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Reflection.json new file mode 100644 index 000000000..321a7cde1 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Reflection.json @@ -0,0 +1,120 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 38.0, + "y" : 14.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "Wall", + "coordinate" : { + "x" : 60.34374153025141, + "y" : 20.40739646823386, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 59.19, + "y" : 24.47, + "z" : 5.0 + }, + "p1" : { + "x" : 64.17, + "y" : 6.95, + "z" : 5.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 60.34470278702647, + "y" : 20.40767212275024, + "z" : 5.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 59.19, + "y" : 24.47, + "z" : 5.0 + }, + "p1" : { + "x" : 64.17, + "y" : 6.95, + "z" : 5.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 60.345664043801534, + "y" : 20.407947777266617, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 59.19, + "y" : 24.47, + "z" : 5.0 + }, + "p1" : { + "x" : 64.17, + "y" : 6.95, + "z" : 5.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Reflection", + "coordinate" : { + "x" : 79.84519258937878, + "y" : 25.99972434548362, + "z" : 2.846153846153846 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 110.0, + "y" : 26.0, + "z" : 9.0 + }, + "p1" : { + "x" : 75.0, + "y" : 26.0, + "z" : 9.0 + } + }, + "wallPrimaryKey" : -1, + "wallAlpha" : [ 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2 ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 106.0, + "y" : 18.5, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Right.json new file mode 100644 index 000000000..8a46a7c8b --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC25_Right.json @@ -0,0 +1,58 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 38.0, + "y" : 14.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 64.17410123459784, + "y" : 6.935571560210007, + "z" : 2.1291698052259895 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 118.0106066017178, + "y" : 9.989393398282202, + "z" : 4.502830501723044 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 118.0106066017178, + "y" : 18.010606601717797, + "z" : 4.526146726785514 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 106.0, + "y" : 18.5, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC26_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC26_Direct.json new file mode 100644 index 000000000..99ff13202 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC26_Direct.json @@ -0,0 +1,40 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 0.05 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 24.545454545454547, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 120.0, + "y" : 50.0, + "z" : 8.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC26_Reflection.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC26_Reflection.json new file mode 100644 index 000000000..d8a5d05ab --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC26_Reflection.json @@ -0,0 +1,63 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 10.0, + "y" : 10.0, + "z" : 0.05 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 50.0, + "y" : 31.115241635687724, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Reflection", + "coordinate" : { + "x" : 95.33704668742938, + "y" : 55.0478090320259, + "z" : 6.355172413793104 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "wall" : { + "p0" : { + "x" : 74.0, + "y" : 52.0, + "z" : 6.0 + }, + "p1" : { + "x" : 130.0, + "y" : 60.0, + "z" : 8.0 + } + }, + "wallPrimaryKey" : -1, + "wallAlpha" : [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.5 ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 120.0, + "y" : 50.0, + "z" : 8.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC27_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC27_Direct.json new file mode 100644 index 000000000..79c43811d --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC27_Direct.json @@ -0,0 +1,58 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 105.0, + "y" : 35.0, + "z" : -0.45 + }, + "zGround" : -0.5, + "groundCoefficient" : 0.0, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 110.0, + "y" : 35.78947368421053, + "z" : -0.5 + }, + "zGround" : -0.5, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 110.0, + "y" : 35.78947368421053, + "z" : -0.5 + }, + "zGround" : -0.5, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 111.0, + "y" : 35.94736842105263, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : true +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC27_Reflection.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC27_Reflection.json new file mode 100644 index 000000000..115625809 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC27_Reflection.json @@ -0,0 +1,81 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 105.0, + "y" : 35.0, + "z" : -0.45 + }, + "zGround" : -0.5, + "groundCoefficient" : 0.0, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "GroundEffect", + "coordinate" : { + "x" : 110.0, + "y" : 37.362637362637365, + "z" : -0.5 + }, + "zGround" : -0.5, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 110.0, + "y" : 37.362637362637365, + "z" : -0.5 + }, + "zGround" : -0.5, + "groundCoefficient" : 1.0 + }, { + "type" : "Topography", + "coordinate" : { + "x" : 111.0, + "y" : 37.83516483516484, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0 + }, { + "type" : "Reflection", + "coordinate" : { + "x" : 152.66576252461314, + "y" : 57.523382291850176, + "z" : 1.880952380952381 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0, + "wall" : { + "p0" : { + "x" : 114.0, + "y" : 52.0, + "z" : 2.5 + }, + "p1" : { + "x" : 170.0, + "y" : 60.0, + "z" : 4.5 + } + }, + "wallPrimaryKey" : -1, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 200.0, + "y" : 50.0, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 1.0, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC28_Direct.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC28_Direct.json new file mode 100644 index 000000000..0a6232186 --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC28_Direct.json @@ -0,0 +1,647 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 0.0, + "y" : 50.0, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "Wall", + "coordinate" : { + "x" : 92.34298393580781, + "y" : 54.61677444656763, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 113.0, + "y" : 10.0, + "z" : 6.0 + }, + "p1" : { + "x" : 88.0, + "y" : 64.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 92.34389140271493, + "y" : 54.617194570135744, + "z" : 6.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 113.0, + "y" : 10.0, + "z" : 6.0 + }, + "p1" : { + "x" : 88.0, + "y" : 64.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 108.7420814479638, + "y" : 55.43710407239819, + "z" : 6.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 102.0, + "y" : 70.0, + "z" : 6.0 + }, + "p1" : { + "x" : 127.0, + "y" : 16.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 108.74298891487092, + "y" : 55.437524195966304, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 102.0, + "y" : 70.0, + "z" : 6.0 + }, + "p1" : { + "x" : 127.0, + "y" : 16.0, + "z" : 6.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 169.13694582272794, + "y" : 58.456725210549386, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 176.0, + "y" : 19.0, + "z" : 10.0 + }, + "p1" : { + "x" : 164.0, + "y" : 88.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 169.13793103448276, + "y" : 58.456896551724135, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 176.0, + "y" : 19.0, + "z" : 10.0 + }, + "p1" : { + "x" : 164.0, + "y" : 88.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 189.48275862068965, + "y" : 59.474137931034484, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 184.0, + "y" : 91.0, + "z" : 10.0 + }, + "p1" : { + "x" : 196.0, + "y" : 22.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 189.48374383244447, + "y" : 59.47430927220923, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 184.0, + "y" : 91.0, + "z" : 10.0 + }, + "p1" : { + "x" : 196.0, + "y" : 22.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 337.93892834192036, + "y" : 66.89716350750255, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 332.0, + "y" : 32.0, + "z" : 10.0 + }, + "p1" : { + "x" : 348.0, + "y" : 126.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 337.9399141630901, + "y" : 66.8969957081545, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 332.0, + "y" : 32.0, + "z" : 10.0 + }, + "p1" : { + "x" : 348.0, + "y" : 126.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 353.4384858044164, + "y" : 67.67192429022082, + "z" : 10.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 361.0, + "y" : 108.0, + "z" : 10.0 + }, + "p1" : { + "x" : 349.0, + "y" : 44.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 353.4394686766033, + "y" : 67.67174000168576, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 361.0, + "y" : 108.0, + "z" : 10.0 + }, + "p1" : { + "x" : 349.0, + "y" : 44.0, + "z" : 10.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 399.999, + "y" : 70.0, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 400.0, + "y" : 5.0, + "z" : 9.0 + }, + "p1" : { + "x" : 400.0, + "y" : 85.0, + "z" : 9.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 400.0, + "y" : 70.0, + "z" : 9.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 400.0, + "y" : 5.0, + "z" : 9.0 + }, + "p1" : { + "x" : 400.0, + "y" : 85.0, + "z" : 9.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 415.0, + "y" : 70.75, + "z" : 9.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 415.0, + "y" : 85.0, + "z" : 9.0 + }, + "p1" : { + "x" : 415.0, + "y" : 5.0, + "z" : 9.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 415.001, + "y" : 70.75, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 415.0, + "y" : 85.0, + "z" : 9.0 + }, + "p1" : { + "x" : 415.0, + "y" : 5.0, + "z" : 9.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 441.74397045852953, + "y" : 72.0871587954579, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 444.0, + "y" : 47.0, + "z" : 12.0 + }, + "p1" : { + "x" : 436.0, + "y" : 136.0, + "z" : 12.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 441.744966442953, + "y" : 72.08724832214764, + "z" : 12.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 444.0, + "y" : 47.0, + "z" : 12.0 + }, + "p1" : { + "x" : 436.0, + "y" : 136.0, + "z" : 12.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 456.6821499668215, + "y" : 72.83410749834107, + "z" : 12.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 452.0, + "y" : 123.0, + "z" : 12.0 + }, + "p1" : { + "x" : 459.0, + "y" : 48.0, + "z" : 12.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 456.68314563951725, + "y" : 72.83420042779267, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 452.0, + "y" : 123.0, + "z" : 12.0 + }, + "p1" : { + "x" : 459.0, + "y" : 48.0, + "z" : 12.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 730.017825403199, + "y" : 86.50043485698576, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 773.0, + "y" : 12.0, + "z" : 14.0 + }, + "p1" : { + "x" : 728.0, + "y" : 90.0, + "z" : 14.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 730.018691588785, + "y" : 86.50093457943925, + "z" : 14.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 773.0, + "y" : 12.0, + "z" : 14.0 + }, + "p1" : { + "x" : 728.0, + "y" : 90.0, + "z" : 14.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 747.1401869158879, + "y" : 87.3570093457944, + "z" : 14.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 741.0, + "y" : 98.0, + "z" : 14.0 + }, + "p1" : { + "x" : 786.0, + "y" : 20.0, + "z" : 14.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 747.1410531014739, + "y" : 87.35750906824788, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 741.0, + "y" : 98.0, + "z" : 14.0 + }, + "p1" : { + "x" : 786.0, + "y" : 20.0, + "z" : 14.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 975.005484034097, + "y" : 98.75050007932799, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 972.0, + "y" : 82.0, + "z" : 8.0 + }, + "p1" : { + "x" : 979.0, + "y" : 121.0, + "z" : 8.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 975.006468305304, + "y" : 98.7503234152652, + "z" : 8.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 972.0, + "y" : 82.0, + "z" : 8.0 + }, + "p1" : { + "x" : 979.0, + "y" : 121.0, + "z" : 8.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 989.6765847347995, + "y" : 99.48382923673998, + "z" : 8.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 993.0, + "y" : 118.0, + "z" : 8.0 + }, + "p1" : { + "x" : 986.0, + "y" : 79.0, + "z" : 8.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Wall", + "coordinate" : { + "x" : 989.6775690060065, + "y" : 99.48365257267719, + "z" : 0.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.0, + "wall" : { + "p0" : { + "x" : 993.0, + "y" : 118.0, + "z" : 8.0 + }, + "p1" : { + "x" : 986.0, + "y" : 79.0, + "z" : 8.0 + } + }, + "wallAlpha" : [ ] + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 1000.0, + "y" : 100.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : true, + "hasTopographyIntersection" : false +} \ No newline at end of file diff --git a/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC28_Right.json b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC28_Right.json new file mode 100644 index 000000000..f6324915b --- /dev/null +++ b/noisemodelling-pathfinder/src/main/resources/org/noise_planet/noisemodelling/pathfinder/test_cases/TC28_Right.json @@ -0,0 +1,76 @@ +{ + "cutPoints" : [ { + "type" : "Source", + "coordinate" : { + "x" : 0.0, + "y" : 50.0, + "z" : 4.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "sourcePk" : -1, + "li" : 1.0, + "orientation" : { + "yaw" : 0.0, + "pitch" : 0.0, + "roll" : 0.0 + } + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 112.99462948903087, + "y" : 9.98599437213366, + "z" : 3.66784859089984 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 399.9893933982822, + "y" : 4.989393398282202, + "z" : 2.8097590132622585 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 415.0106066017178, + "y" : 4.989393398282202, + "z" : 2.764807751805593 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 772.9963190112982, + "y" : 11.985458668486782, + "z" : 1.692482019118041 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "VEdgeDiffraction", + "coordinate" : { + "x" : 986.0083585405685, + "y" : 78.98754468789767, + "z" : 1.0450142570325296 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5 + }, { + "type" : "Receiver", + "coordinate" : { + "x" : 1000.0, + "y" : 100.0, + "z" : 1.0 + }, + "zGround" : 0.0, + "groundCoefficient" : 0.5, + "receiverPk" : -1 + } ], + "hasBuildingIntersection" : false, + "hasTopographyIntersection" : false +} \ No newline at end of file