Skip to content

Commit d88a7f4

Browse files
committed
add missing help for inclination
1 parent c373c8b commit d88a7f4

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "inclination",
3+
"type": "function",
4+
"description": "Returns the inclination measured from the zenith (0) to the nadir (180) on point_a to point_b.",
5+
"arguments": [
6+
{"arg":"point_a","description":"point geometry"},
7+
{"arg":"point_b","description":"point geometry"}
8+
],
9+
"examples": [
10+
{ "expression":"inclination( make_point( 5, 10, 0 ), make_point( 5, 10, 5 ) )", "returns":"0.0"},
11+
{ "expression":"inclination( make_point( 5, 10, 0 ), make_point( 5, 10, 0 ) )", "returns":"90.0"},
12+
{ "expression":"inclination( make_point( 5, 10, 0 ), make_point( 50, 100, 0 ) )", "returns":"90.0"},
13+
{ "expression":"inclination( make_point( 5, 10, 0 ), make_point( 5, 10, -5 ) )", "returns":"180.0"}
14+
15+
]
16+
}

0 commit comments

Comments
 (0)