From 96644d23a03ca994956701b7e48fb149ff22a0c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 3 Jul 2020 16:09:12 +0200 Subject: doc: Sync classref with current source --- modules/gridmap/doc_classes/GridMap.xml | 38 ++++++++++----------------------- 1 file changed, 11 insertions(+), 27 deletions(-) (limited to 'modules') diff --git a/modules/gridmap/doc_classes/GridMap.xml b/modules/gridmap/doc_classes/GridMap.xml index a213069e19..79220da7c2 100644 --- a/modules/gridmap/doc_classes/GridMap.xml +++ b/modules/gridmap/doc_classes/GridMap.xml @@ -43,27 +43,19 @@ - - - - - + - The [MeshLibrary] item index located at the grid-based X, Y and Z coordinates. If the cell is empty, [constant INVALID_CELL_ITEM] will be returned. + The [MeshLibrary] item index located at the given grid coordinates. If the cell is empty, [constant INVALID_CELL_ITEM] will be returned. - - - - - + - The orientation of the cell at the grid-based X, Y and Z coordinates. -1 is returned if the cell is empty. + The orientation of the cell at the given grid coordinates. [code]-1[/code] is returned if the cell is empty. @@ -111,11 +103,7 @@ - - - - - + Returns the position of a grid cell in the GridMap's local coordinate space. @@ -132,18 +120,14 @@ - - - + - + - - - + - Sets the mesh index for the cell referenced by its grid-based X, Y and Z coordinates. + Sets the mesh index for the cell referenced by its grid coordinates. A negative item index such as [constant INVALID_CELL_ITEM] will clear the cell. Optionally, the item's orientation can be passed. For valid orientation values, see [method Basis.get_orthogonal_index]. @@ -185,9 +169,9 @@ - + - + Returns the coordinates of the grid cell containing the given point. -- cgit v1.2.3