mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
doc improvement
This commit is contained in:
parent
14be7e456a
commit
869fdc866d
@ -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"}]
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user