Files
Brennen Herbruck 916b91e8d0 Vendor solidcore at solidcore/ with its history (solidcore c0d3cc0124)
solidcore's main at c0d3cc0124, rewritten to one commit per same-author run per
PR (2,800 commits, author credit kept; tree identical). Full original history:
tangency-labs/solidcore archive/full-history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

git-subtree-dir: solidcore
git-subtree-mainline: 44525da669
git-subtree-split: c440e5f892
2026-11-08 15:18:40 -05:00

5028 lines
78 KiB
JSON
Vendored

{
"cases": [
{
"name": "surface_5x7",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:72",
"inputs": {
"op": "net",
"rows": 5,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
}
},
{
"name": "surface_count_mismatch",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:72",
"inputs": {
"op": "net",
"rows": 7,
"columns": 4,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
}
},
{
"name": "surface_two_rows",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:81",
"inputs": {
"op": "net",
"rows": 2,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
]
]
}
},
{
"name": "surface_two_columns",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:82",
"inputs": {
"op": "net",
"rows": 7,
"columns": 2,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
]
]
}
},
{
"name": "surface_empty",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:39",
"inputs": {
"op": "net",
"rows": 0,
"columns": 0,
"points": []
}
},
{
"name": "surface_4x4",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:39",
"inputs": {
"op": "net",
"rows": 4,
"columns": 4,
"points": [
[
0.0,
0.0,
0.0
],
[
0.0,
3.0,
-0.5
],
[
0.0,
6.0,
-1.0
],
[
0.0,
9.0,
-1.5
],
[
3.0,
0.0,
0.5
],
[
3.0,
3.0,
0.0
],
[
3.0,
6.0,
-0.5
],
[
3.0,
9.0,
-1.0
],
[
6.0,
0.0,
1.0
],
[
6.0,
3.0,
0.5
],
[
6.0,
6.0,
0.0
],
[
6.0,
9.0,
-0.5
],
[
9.0,
0.0,
1.5
],
[
9.0,
3.0,
1.0
],
[
9.0,
6.0,
0.5
],
[
9.0,
9.0,
0.0
]
]
}
},
{
"name": "corners_test",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:212",
"inputs": {
"op": "corners",
"corners": [
[
0,
0,
0
],
[
10,
0,
0
],
[
0,
12,
0
],
[
10,
12,
0
]
]
}
},
{
"name": "corners_twisted",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:212",
"inputs": {
"op": "corners",
"corners": [
[
0,
0,
0
],
[
10,
0,
2
],
[
0,
10,
-2
],
[
10,
10,
0
]
]
}
},
{
"name": "corners_degenerate",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:212",
"inputs": {
"op": "corners",
"corners": [
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
10,
0
],
[
10,
10,
0
]
]
}
},
{
"name": "offset_net_minus12",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:596 (net from SmApiCreateSurface; upstream offsets SmApiCreateSurfaceFromOrderedPoints' surface)",
"inputs": {
"op": "offset",
"surface": {
"kind": "net",
"rows": 5,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
},
"distance": -12.0
}
},
{
"name": "offset_net_plus3",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:596",
"inputs": {
"op": "offset",
"surface": {
"kind": "net",
"rows": 5,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
},
"distance": 3.0
}
},
{
"name": "offset_corners_up",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:596",
"inputs": {
"op": "offset",
"surface": {
"kind": "corners",
"corners": [
[
0,
0,
0
],
[
10,
0,
0
],
[
0,
10,
0
],
[
10,
10,
0
]
]
},
"distance": 2.0
}
},
{
"name": "offset_corners_down",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:596",
"inputs": {
"op": "offset",
"surface": {
"kind": "corners",
"corners": [
[
0,
0,
0
],
[
10,
0,
0
],
[
0,
10,
0
],
[
10,
10,
0
]
]
},
"distance": -2.0
}
},
{
"name": "offset_corners_zero",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:596",
"inputs": {
"op": "offset",
"surface": {
"kind": "corners",
"corners": [
[
0,
0,
0
],
[
10,
0,
0
],
[
0,
10,
0
],
[
10,
10,
0
]
]
},
"distance": 0.0
}
},
{
"name": "drop_test",
"upstream_ref": "tests/SM_API_test/src/TestSmCurves.cpp:382",
"inputs": {
"op": "drop",
"curve": {
"kind": "curve",
"points": [
[
-40,
0,
0
],
[
-30,
-3,
0
],
[
-20,
3,
0
],
[
-10,
-6,
0
]
]
},
"surface": {
"kind": "net",
"rows": 5,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
},
"lift": true
}
},
{
"name": "drop_test_uv_only",
"upstream_ref": "tests/SM_API_test/src/TestSmCurves.cpp:382",
"inputs": {
"op": "drop",
"curve": {
"kind": "curve",
"points": [
[
-40,
0,
0
],
[
-30,
-3,
0
],
[
-20,
3,
0
],
[
-10,
-6,
0
]
]
},
"surface": {
"kind": "net",
"rows": 5,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
},
"lift": false
}
},
{
"name": "drop_cross_boundary",
"upstream_ref": "tests/SM_API_test/src/TestSmCurves.cpp:558",
"inputs": {
"op": "drop",
"curve": {
"kind": "curve",
"points": [
[
-5.0,
6.438386411994708,
0.5
],
[
-2.142857142857143,
3.7388193413071242,
0.5
],
[
0.7142857142857144,
5.982616845767778,
0.5
],
[
3.571428571428571,
4.374917522369751,
0.5
],
[
6.428571428571429,
5.217311732491214,
0.5
],
[
9.285714285714286,
5.207923834508877,
0.5
],
[
12.142857142857142,
4.383550937545143,
0.5
],
[
15.0,
5.975431760235676,
0.5
]
]
},
"surface": {
"kind": "corners",
"corners": [
[
0,
0,
0
],
[
10,
0,
0
],
[
0,
10,
0
],
[
10,
10,
0
]
]
},
"lift": true
}
},
{
"name": "drop_project_curve",
"upstream_ref": "tests/SM_API_test/src/TestSmCurves.cpp:522 (SmApiProjectCurve's inputs, through SmApiDropCurveToSrf)",
"inputs": {
"op": "drop",
"curve": {
"kind": "curve",
"points": [
[
1,
1,
2
],
[
3,
5,
2
],
[
7,
3,
2
],
[
9,
8,
2
]
]
},
"surface": {
"kind": "corners",
"corners": [
[
0,
0,
0
],
[
10,
0,
0
],
[
0,
10,
0
],
[
10,
10,
0
]
]
},
"lift": true
}
},
{
"name": "drop_circle",
"upstream_ref": "tests/SM_API_test/src/TestSmCurves.cpp:1188",
"inputs": {
"op": "drop",
"curve": {
"kind": "circle",
"center": [
5,
5,
3
],
"radius": 3.0
},
"surface": {
"kind": "corners",
"corners": [
[
0,
0,
0
],
[
10,
0,
0
],
[
0,
10,
0
],
[
10,
10,
0
]
]
},
"lift": true
}
},
{
"name": "drop_segment",
"upstream_ref": "tests/SM_API_test/src/TestSmCurves.cpp:1188",
"inputs": {
"op": "drop",
"curve": {
"kind": "segment",
"start": [
1,
2,
1
],
"end": [
8,
7,
1
]
},
"surface": {
"kind": "corners",
"corners": [
[
0,
0,
0
],
[
10,
0,
0
],
[
0,
10,
0
],
[
10,
10,
0
]
]
},
"lift": true
}
},
{
"name": "lift_test",
"upstream_ref": "tests/SM_API_test/src/TestSmCurves.cpp:605 (a UV curve made directly; upstream lifts SmApiProjectCurve's UV curve)",
"inputs": {
"op": "lift",
"uv_curve": {
"kind": "curve",
"points": [
[
0.1,
0.1,
0
],
[
0.5,
0.8,
0
],
[
0.9,
0.5,
0
],
[
0.9,
0.1,
0
]
]
},
"surface": {
"kind": "corners",
"corners": [
[
0,
0,
0
],
[
10,
0,
0
],
[
0,
10,
0
],
[
10,
10,
0
]
]
}
}
},
{
"name": "lift_segment_net",
"upstream_ref": "tests/SM_API_test/src/TestSmCurves.cpp:1267",
"inputs": {
"op": "lift",
"uv_curve": {
"kind": "segment",
"start": [
0.1,
0.2,
0
],
"end": [
0.8,
0.9,
0
]
},
"surface": {
"kind": "net",
"rows": 5,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
}
}
},
{
"name": "lift_iso_line",
"upstream_ref": "tests/SM_API_test/src/TestSmCurves.cpp:1267",
"inputs": {
"op": "lift",
"uv_curve": {
"kind": "segment",
"start": [
0.25,
0.0,
0
],
"end": [
0.25,
1.0,
0
]
},
"surface": {
"kind": "net",
"rows": 5,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
}
}
},
{
"name": "lift_arc_corners",
"upstream_ref": "tests/SM_API_test/src/TestSmCurves.cpp:1267",
"inputs": {
"op": "lift",
"uv_curve": {
"kind": "arc",
"center": [
0.5,
0.5,
0
],
"radius": 0.3,
"start_deg": 0.0,
"end_deg": 180.0
},
"surface": {
"kind": "corners",
"corners": [
[
0,
0,
0
],
[
10,
0,
2
],
[
0,
10,
-2
],
[
10,
10,
0
]
]
}
}
},
{
"name": "offset_sphere_collapse",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:615",
"inputs": {
"op": "offset",
"surface": {
"kind": "sphere_face",
"center": [
0,
0,
0
],
"radius": 10
},
"distance": -20
}
},
{
"name": "offset_torus_collapse",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:626",
"inputs": {
"op": "offset",
"surface": {
"kind": "torus",
"center": [
0,
0,
0
],
"major": 10,
"minor": 2
},
"distance": -5
}
},
{
"name": "offset_sphere_inward",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:615",
"inputs": {
"op": "offset",
"surface": {
"kind": "sphere_face",
"center": [
0,
0,
0
],
"radius": 10
},
"distance": -5
}
},
{
"name": "offset_sphere_outward",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:615",
"inputs": {
"op": "offset",
"surface": {
"kind": "sphere_face",
"center": [
0,
0,
0
],
"radius": 10
},
"distance": 3
}
},
{
"name": "offset_sphere_exact_collapse",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:615",
"inputs": {
"op": "offset",
"surface": {
"kind": "sphere_face",
"center": [
0,
0,
0
],
"radius": 10
},
"distance": -10
}
},
{
"name": "offset_torus_inward",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:626",
"inputs": {
"op": "offset",
"surface": {
"kind": "torus",
"center": [
0,
0,
0
],
"major": 10,
"minor": 2
},
"distance": -1
}
},
{
"name": "offset_torus_outward",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:626",
"inputs": {
"op": "offset",
"surface": {
"kind": "torus",
"center": [
0,
0,
0
],
"major": 10,
"minor": 2
},
"distance": 1.5
}
},
{
"name": "offset_torus_exact_collapse",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:626",
"inputs": {
"op": "offset",
"surface": {
"kind": "torus",
"center": [
0,
0,
0
],
"major": 10,
"minor": 2
},
"distance": -2
}
},
{
"name": "ordered_5x7_upstream",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:136",
"inputs": {
"op": "ordered",
"rows": 5,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
}
},
{
"name": "ordered_5x7_intersectors",
"upstream_ref": "tests/SM_API_test/src/TestSmIntersectors.cpp:163",
"inputs": {
"op": "ordered",
"rows": 5,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
}
},
{
"name": "ordered_7x5_transposed_rows",
"inputs": {
"op": "ordered",
"rows": 7,
"columns": 5,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
}
},
{
"name": "ordered_count_mismatch",
"inputs": {
"op": "ordered",
"rows": 5,
"columns": 6,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
}
},
{
"name": "ordered_3x7_too_few_rows",
"inputs": {
"op": "ordered",
"rows": 3,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
]
]
}
},
{
"name": "ordered_5x3_too_few_columns",
"inputs": {
"op": "ordered",
"rows": 5,
"columns": 3,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
]
]
}
},
{
"name": "ordered_4x4",
"inputs": {
"op": "ordered",
"rows": 4,
"columns": 4,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
]
]
}
},
{
"name": "ordered_5x4",
"inputs": {
"op": "ordered",
"rows": 5,
"columns": 4,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
]
]
}
},
{
"name": "ordered_1x1",
"inputs": {
"op": "ordered",
"rows": 1,
"columns": 1,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
]
]
}
},
{
"name": "ordered_empty",
"inputs": {
"op": "ordered",
"rows": 0,
"columns": 0,
"points": []
}
},
{
"name": "ordered_0x7",
"inputs": {
"op": "ordered",
"rows": 0,
"columns": 7,
"points": []
}
},
{
"name": "ordered_huge_scale",
"inputs": {
"op": "ordered",
"rows": 5,
"columns": 7,
"points": [
[
-9999999.999999989,
-90000000.00000001,
-40000000.0
],
[
-15009938.28742204,
-90000000.0,
-37495030.85628898
],
[
-20899184.886754,
-90000000.0,
-29460669.19081585
],
[
-29861661.3560007,
-90000000.0,
-24454199.628351588
],
[
-41045408.77725864,
-90000000.0,
-21585009.43904096
],
[
-54081533.6892012,
-90000000.0,
-19798991.79084966
],
[
-62629534.065817,
-90000000.0,
-23218191.94149598
],
[
-9999999.999999989,
-20000000.00000001,
-50000000.00000001
],
[
-14171925.944906449,
-20000000.00000001,
-47914037.027546786
],
[
-18119021.86410478,
-19999999.99999999,
-39112803.02897903
],
[
-25353993.62720083,
-20000000.000000037,
-33425039.55402192
],
[
-35094490.53271035,
-20000000.000000022,
-29662011.32684917
],
[
-47197840.42704145,
-20000000.00000001,
-26678790.14901961
],
[
-55155440.8789804,
-20000000.00000001,
-29861830.32979519
],
[
-9999999.999999989,
-10000000.000000011,
-20000000.00000001
],
[
-16685962.97245324,
-10000000.000000011,
-16657018.513773391
],
[
-26459510.9320524,
-10000000.000000011,
-10156401.514489532
],
[
-38876996.813600406,
-10000000.000000011,
-6512519.77701096
],
[
-52947245.26635518,
-10000000.000000011,
-5431005.6634246
],
[
-67848920.21352072,
-10000000.000000011,
-6039395.07450981
],
[
-77577720.4394902,
-10000000.000000011,
-9930915.1648976
],
[
-10000000.000000011,
-39999999.99999999,
39999999.99999999
],
[
-21714037.027546808,
-39999999.99999999,
45857018.51377338
],
[
-43140489.06794761,
-39999999.99999999,
47756401.51448948
],
[
-65923003.186399594,
-40000000.0,
47312519.777010925
],
[
-88652754.73364481,
-40000000.0,
43031005.66342455
],
[
-109151079.78647926,
-39999999.99999999,
35239395.0745098
],
[
-122422279.56050979,
-39999999.99999999,
29930915.1648976
],
[
-10000000.0,
-90000000.0,
10000000.0
],
[
-19200000.000000022,
-90000000.0,
14600000.000000011
],
[
-34800000.000000015,
-90000000.0,
18800000.0
],
[
-52400000.0,
-90000000.0,
20400000.0
],
[
-70800000.0,
-90000000.0,
18800000.0
],
[
-88500000.0,
-90000000.0,
14600000.0
],
[
-99999999.99999999,
-90000000.0,
10000000.000000011
]
]
}
},
{
"name": "ordered_tiny_scale",
"inputs": {
"op": "ordered",
"rows": 5,
"columns": 7,
"points": [
[
-9.999999999999989e-06,
-9e-05,
-3.9999999999999996e-05
],
[
-1.5009938287422039e-05,
-8.999999999999999e-05,
-3.749503085628897e-05
],
[
-2.0899184886754e-05,
-8.999999999999999e-05,
-2.9460669190815848e-05
],
[
-2.9861661356000696e-05,
-8.999999999999999e-05,
-2.4454199628351586e-05
],
[
-4.104540877725864e-05,
-8.999999999999999e-05,
-2.158500943904096e-05
],
[
-5.4081533689201196e-05,
-8.999999999999999e-05,
-1.979899179084966e-05
],
[
-6.2629534065817e-05,
-8.999999999999999e-05,
-2.321819194149598e-05
],
[
-9.999999999999989e-06,
-2.000000000000001e-05,
-5e-05
],
[
-1.417192594490645e-05,
-2.000000000000001e-05,
-4.791403702754678e-05
],
[
-1.811902186410478e-05,
-1.9999999999999988e-05,
-3.911280302897903e-05
],
[
-2.535399362720083e-05,
-2.000000000000004e-05,
-3.342503955402192e-05
],
[
-3.509449053271035e-05,
-2.0000000000000022e-05,
-2.966201132684917e-05
],
[
-4.7197840427041445e-05,
-2.000000000000001e-05,
-2.6678790149019606e-05
],
[
-5.51554408789804e-05,
-2.000000000000001e-05,
-2.986183032979519e-05
],
[
-9.999999999999989e-06,
-1.0000000000000011e-05,
-2.000000000000001e-05
],
[
-1.668596297245324e-05,
-1.0000000000000011e-05,
-1.665701851377339e-05
],
[
-2.64595109320524e-05,
-1.0000000000000011e-05,
-1.0156401514489531e-05
],
[
-3.8876996813600404e-05,
-1.0000000000000011e-05,
-6.51251977701096e-06
],
[
-5.294724526635518e-05,
-1.0000000000000011e-05,
-5.431005663424599e-06
],
[
-6.78489202135207e-05,
-1.0000000000000011e-05,
-6.0393950745098095e-06
],
[
-7.757772043949019e-05,
-1.0000000000000011e-05,
-9.9309151648976e-06
],
[
-1.0000000000000011e-05,
-3.999999999999999e-05,
3.999999999999999e-05
],
[
-2.1714037027546806e-05,
-3.999999999999999e-05,
4.585701851377338e-05
],
[
-4.314048906794761e-05,
-3.999999999999999e-05,
4.775640151448948e-05
],
[
-6.592300318639959e-05,
-3.9999999999999996e-05,
4.7312519777010926e-05
],
[
-8.865275473364481e-05,
-3.9999999999999996e-05,
4.303100566342455e-05
],
[
-0.00010915107978647925,
-3.999999999999999e-05,
3.52393950745098e-05
],
[
-0.00012242227956050977,
-3.999999999999999e-05,
2.99309151648976e-05
],
[
-9.999999999999999e-06,
-8.999999999999999e-05,
9.999999999999999e-06
],
[
-1.920000000000002e-05,
-8.999999999999999e-05,
1.460000000000001e-05
],
[
-3.480000000000001e-05,
-8.999999999999999e-05,
1.88e-05
],
[
-5.239999999999999e-05,
-8.999999999999999e-05,
2.0399999999999998e-05
],
[
-7.08e-05,
-8.999999999999999e-05,
1.88e-05
],
[
-8.85e-05,
-8.999999999999999e-05,
1.4599999999999999e-05
],
[
-9.999999999999998e-05,
-8.999999999999999e-05,
1.0000000000000011e-05
]
]
}
},
{
"name": "ordered_repeated_row",
"inputs": {
"op": "ordered",
"rows": 5,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
}
},
{
"name": "ordered_flat_6x5",
"inputs": {
"op": "ordered",
"rows": 6,
"columns": 5,
"points": [
[
0.0,
0.0,
0.0
],
[
0.0,
1.0,
0.0
],
[
0.0,
2.0,
0.0
],
[
0.0,
3.0,
0.0
],
[
0.0,
4.0,
0.0
],
[
1.0,
0.0,
0.0
],
[
1.0,
1.0,
0.0
],
[
1.0,
2.0,
0.0
],
[
1.0,
3.0,
0.0
],
[
1.0,
4.0,
0.0
],
[
2.0,
0.0,
0.0
],
[
2.0,
1.0,
0.0
],
[
2.0,
2.0,
0.0
],
[
2.0,
3.0,
0.0
],
[
2.0,
4.0,
0.0
],
[
3.0,
0.0,
0.0
],
[
3.0,
1.0,
0.0
],
[
3.0,
2.0,
0.0
],
[
3.0,
3.0,
0.0
],
[
3.0,
4.0,
0.0
],
[
4.0,
0.0,
0.0
],
[
4.0,
1.0,
0.0
],
[
4.0,
2.0,
0.0
],
[
4.0,
3.0,
0.0
],
[
4.0,
4.0,
0.0
],
[
5.0,
0.0,
0.0
],
[
5.0,
1.0,
0.0
],
[
5.0,
2.0,
0.0
],
[
5.0,
3.0,
0.0
],
[
5.0,
4.0,
0.0
]
]
}
},
{
"name": "ordered_saddle_7x7",
"inputs": {
"op": "ordered",
"rows": 7,
"columns": 7,
"points": [
[
0.0,
0.0,
0
],
[
0.0,
3.0,
5
],
[
0.0,
6.0,
8
],
[
0.0,
9.0,
9
],
[
0.0,
12.0,
8
],
[
0.0,
15.0,
5
],
[
0.0,
18.0,
0
],
[
2.0,
0.0,
-5
],
[
2.0,
3.0,
0
],
[
2.0,
6.0,
3
],
[
2.0,
9.0,
4
],
[
2.0,
12.0,
3
],
[
2.0,
15.0,
0
],
[
2.0,
18.0,
-5
],
[
4.0,
0.0,
-8
],
[
4.0,
3.0,
-3
],
[
4.0,
6.0,
0
],
[
4.0,
9.0,
1
],
[
4.0,
12.0,
0
],
[
4.0,
15.0,
-3
],
[
4.0,
18.0,
-8
],
[
6.0,
0.0,
-9
],
[
6.0,
3.0,
-4
],
[
6.0,
6.0,
-1
],
[
6.0,
9.0,
0
],
[
6.0,
12.0,
-1
],
[
6.0,
15.0,
-4
],
[
6.0,
18.0,
-9
],
[
8.0,
0.0,
-8
],
[
8.0,
3.0,
-3
],
[
8.0,
6.0,
0
],
[
8.0,
9.0,
1
],
[
8.0,
12.0,
0
],
[
8.0,
15.0,
-3
],
[
8.0,
18.0,
-8
],
[
10.0,
0.0,
-5
],
[
10.0,
3.0,
0
],
[
10.0,
6.0,
3
],
[
10.0,
9.0,
4
],
[
10.0,
12.0,
3
],
[
10.0,
15.0,
0
],
[
10.0,
18.0,
-5
],
[
12.0,
0.0,
0
],
[
12.0,
3.0,
5
],
[
12.0,
6.0,
8
],
[
12.0,
9.0,
9
],
[
12.0,
12.0,
8
],
[
12.0,
15.0,
5
],
[
12.0,
18.0,
0
]
]
}
},
{
"name": "offset_ordered_minus12",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:596",
"inputs": {
"op": "offset",
"surface": {
"kind": "ordered",
"rows": 5,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
},
"distance": -12.0
}
},
{
"name": "offset_ordered_plus3",
"upstream_ref": "tests/SM_API_test/src/TestSmSurfaces.cpp:596",
"inputs": {
"op": "offset",
"surface": {
"kind": "ordered",
"rows": 5,
"columns": 7,
"points": [
[
-9.99999999999999,
-90.00000000000001,
-40.0
],
[
-15.00993828742204,
-90.0,
-37.49503085628898
],
[
-20.899184886754,
-90.0,
-29.46066919081585
],
[
-29.8616613560007,
-90.0,
-24.45419962835159
],
[
-41.04540877725864,
-90.0,
-21.58500943904096
],
[
-54.0815336892012,
-90.0,
-19.79899179084966
],
[
-62.629534065817,
-90.0,
-23.21819194149598
],
[
-9.99999999999999,
-20.00000000000001,
-50.00000000000001
],
[
-14.17192594490645,
-20.00000000000001,
-47.91403702754678
],
[
-18.11902186410478,
-19.99999999999999,
-39.11280302897903
],
[
-25.35399362720083,
-20.00000000000004,
-33.42503955402192
],
[
-35.09449053271035,
-20.00000000000002,
-29.66201132684917
],
[
-47.19784042704145,
-20.00000000000001,
-26.67879014901961
],
[
-55.1554408789804,
-20.00000000000001,
-29.86183032979519
],
[
-9.99999999999999,
-10.00000000000001,
-20.00000000000001
],
[
-16.68596297245324,
-10.00000000000001,
-16.65701851377339
],
[
-26.4595109320524,
-10.00000000000001,
-10.15640151448953
],
[
-38.87699681360041,
-10.00000000000001,
-6.51251977701096
],
[
-52.94724526635518,
-10.00000000000001,
-5.4310056634246
],
[
-67.84892021352071,
-10.00000000000001,
-6.03939507450981
],
[
-77.5777204394902,
-10.00000000000001,
-9.9309151648976
],
[
-10.00000000000001,
-39.99999999999999,
39.99999999999999
],
[
-21.71403702754681,
-39.99999999999999,
45.85701851377338
],
[
-43.14048906794761,
-39.99999999999999,
47.75640151448948
],
[
-65.9230031863996,
-40.0,
47.31251977701093
],
[
-88.65275473364481,
-40.0,
43.03100566342455
],
[
-109.15107978647926,
-39.99999999999999,
35.2393950745098
],
[
-122.42227956050978,
-39.99999999999999,
29.9309151648976
],
[
-10.0,
-90.0,
10.0
],
[
-19.20000000000002,
-90.0,
14.60000000000001
],
[
-34.80000000000001,
-90.0,
18.8
],
[
-52.4,
-90.0,
20.4
],
[
-70.8,
-90.0,
18.8
],
[
-88.5,
-90.0,
14.6
],
[
-99.99999999999999,
-90.0,
10.00000000000001
]
]
},
"distance": 3.0
}
}
]
}