Alex d7ffe0b7ec
DelazJ bonification
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2022-01-11 11:17:49 -05:00

22 lines
709 B
Plaintext

{
"name": "azimuth",
"type": "function",
"groups": ["GeometryGroup"],
"description": "Returns the north-based azimuth as the angle in radians measured clockwise from the vertical on point_a to point_b.",
"arguments": [{
"arg": "point_a",
"description": "point geometry"
}, {
"arg": "point_b",
"description": "point geometry"
}],
"examples": [{
"expression": "degrees( azimuth( make_point(25, 45), make_point(75, 100) ) )",
"returns": "42.273689"
}, {
"expression": "degrees( azimuth( make_point(75, 100), make_point(25,45) ) )",
"returns": "222.273689"
}],
"tags": ["measured", "clockwise", "points", "angle", "vertical", "north", "azimuth", "radians"]
}