Skip to content

Commit

Permalink
Merge pull request #45140 from vcloarec/tuneMeshEditingWithAdvancedZv…
Browse files Browse the repository at this point in the history
…alue

Adapt mesh editing following new CAD Z value
  • Loading branch information
PeterPetrik committed Sep 21, 2021
2 parents ef2f404 + 75ad257 commit b4ec120
Show file tree
Hide file tree
Showing 8 changed files with 262 additions and 83 deletions.
8 changes: 8 additions & 0 deletions python/core/auto_generated/mesh/qgsmesheditor.sip.in
Expand Up @@ -153,7 +153,15 @@ Changes the Z values of the vertices with indexes in ``vertices`` indexes with t
void changeXYValues( const QList<int> &verticesIndexes, const QList<QgsPointXY> &newValues );
%Docstring
Changes the (X,Y) coordinates values of the vertices with indexes in ``vertices`` indexes with the values in ``newValues``.
The caller has the responsibility to check if changing the vertices coordinates does not lead to topological errors.
New values are in layer CRS.
%End

void changeCoordinates( const QList<int> &verticesIndexes, const QList<QgsPoint> &newCoordinates );
%Docstring
Changes the (X,Y,Z) coordinates values of the vertices with indexes in ``vertices`` indexes with the values in ``newValues``.
The caller has the responsibility to check if changing the vertices coordinates does not lead to topological errors
New coordinates are in layer CRS.
%End

void advancedEdit( QgsMeshAdvancedEditing *editing );
Expand Down
14 changes: 14 additions & 0 deletions python/gui/auto_generated/qgsadvanceddigitizingdockwidget.sip.in
Expand Up @@ -218,6 +218,20 @@ determines if CAD tools are enabled or if map tools behaves "nomally"
%Docstring
Determines if Z or M will be enabled.

.. versionadded:: 3.22
%End

void setEnabledZ( bool enable );
%Docstring
Sets whether Z is enabled

.. versionadded:: 3.22
%End

void setEnabledM( bool enable );
%Docstring
Sets whether M is enabled

.. versionadded:: 3.22
%End

Expand Down

0 comments on commit b4ec120

Please sign in to comment.