diff --git a/resources/function_help/json/main_angle b/resources/function_help/json/main_angle index 7dbf923e4aa..9339d709396 100644 --- a/resources/function_help/json/main_angle +++ b/resources/function_help/json/main_angle @@ -2,7 +2,7 @@ "name": "main_angle", "type": "function", "groups": ["GeometryGroup"], - "description":"Returns the main angle of a geometry (clockwise, in degrees from North), which represents the angle of the oriented minimal bounding rectangle which completely covers the geometry.", + "description":"Returns the angle of the long axis (clockwise, in degrees from North) of the oriented minimal bounding rectangle, which completely covers the geometry.", "arguments": [ {"arg":"geometry","description":"a geometry"} ], "examples": [ { "expression":"main_angle(geom_from_wkt('Polygon ((321577 129614, 321581 129618, 321585 129615, 321581 129610, 321577 129614))'))", "returns":"38.66"}] } diff --git a/src/core/geometry/qgsinternalgeometryengine.h b/src/core/geometry/qgsinternalgeometryengine.h index 293b53bbea2..5c77da73a64 100644 --- a/src/core/geometry/qgsinternalgeometryengine.h +++ b/src/core/geometry/qgsinternalgeometryengine.h @@ -199,7 +199,7 @@ class QgsInternalGeometryEngine /** * Returns the oriented minimum bounding box for the geometry, which is the smallest (by area) * rotated rectangle which fully encompasses the geometry. - * The area, angle of the longest axis (clockwise in degrees from North), + * The area, angle of the long axis (clockwise in degrees from North), * width and height of the rotated bounding box will also be returned. * * If an error was encountered while creating the result, more information can be retrieved