Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doc improvement
  • Loading branch information
roya0045 committed Apr 19, 2021
1 parent 14be7e4 commit 869fdc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/function_help/json/main_angle
Expand Up @@ -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"}]
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/geometry/qgsinternalgeometryengine.h
Expand Up @@ -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
Expand Down

0 comments on commit 869fdc8

Please sign in to comment.