-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4949 from lbartoletti/inclination_help
add missing help for inclination
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "inclination", | ||
"type": "function", | ||
"description": "Returns the inclination measured from the zenith (0) to the nadir (180) on point_a to point_b.", | ||
"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"} | ||
|
||
] | ||
} |