2017-08-01 21:48:03 +02:00
|
|
|
{
|
|
|
|
"name": "inclination",
|
|
|
|
"type": "function",
|
2021-11-17 19:01:37 +01:00
|
|
|
"groups": ["GeometryGroup"],
|
2017-08-01 21:48:03 +02:00
|
|
|
"description": "Returns the inclination measured from the zenith (0) to the nadir (180) on point_a to point_b.",
|
2022-01-07 08:33:29 -05:00
|
|
|
"arguments": [{
|
|
|
|
"arg": "point_a",
|
|
|
|
"description": "point geometry"
|
|
|
|
}, {
|
|
|
|
"arg": "point_b",
|
|
|
|
"description": "point geometry"
|
|
|
|
}],
|
|
|
|
"examples": [{
|
|
|
|
"expression": "inclination( make_point( 5, 10, 0 ), make_point( 5, 10, 5 ) )",
|
|
|
|
"returns": "0.0"
|
|
|
|
}, {
|
|
|
|
"expression": "inclination( make_point( 5, 10, 0 ), make_point( 5, 10, 0 ) )",
|
|
|
|
"returns": "90.0"
|
|
|
|
}, {
|
|
|
|
"expression": "inclination( make_point( 5, 10, 0 ), make_point( 50, 100, 0 ) )",
|
|
|
|
"returns": "90.0"
|
|
|
|
}, {
|
|
|
|
"expression": "inclination( make_point( 5, 10, 0 ), make_point( 5, 10, -5 ) )",
|
|
|
|
"returns": "180.0"
|
|
|
|
}],
|
2022-01-11 11:17:49 -05:00
|
|
|
"tags": ["zenith", "nadir", "inclination", "measured", "points"]
|
2017-08-01 21:48:03 +02:00
|
|
|
}
|