update sip PyQt6 after rebase

This commit is contained in:
Julien Cabieces 2023-12-12 14:41:23 +01:00 committed by Nyall Dawson
parent e8093a8ce5
commit 1ead52c9b4
3 changed files with 20 additions and 7 deletions

View File

@ -31,7 +31,7 @@ Entity that encapsulates our 3D scene - contains all other entities (such as ter
%End
public:
QgsCameraController *cameraController();
QgsCameraController *cameraController() const;
%Docstring
Returns camera controller
%End
@ -49,7 +49,7 @@ Resets camera view to show the extent ``extent`` (top view)
.. versionadded:: 3.26
%End
QVector<QgsPointXY> viewFrustum2DExtent();
QVector<QgsPointXY> viewFrustum2DExtent() const;
%Docstring
Calculates the 2D extent viewed by the 3D camera as the vertices of the viewed trapezoid
@ -79,7 +79,7 @@ Returns number of pending jobs for all chunked entities
Returns the current state of the scene
%End
float worldSpaceError( float epsilon, float distance );
float worldSpaceError( float epsilon, float distance ) const;
%Docstring
Given screen error (in pixels) and distance from camera (in 3D world coordinates), this function
estimates the error in world space. Takes into account camera's field of view and the screen (3D view) size.
@ -93,7 +93,7 @@ Exports the scene according to the scene export settings
QgsRectangle sceneExtent();
QgsRectangle sceneExtent() const;
%Docstring
Returns the scene extent in the map's CRS

View File

@ -35,16 +35,17 @@ base class constructor - stores the iteration parameters
virtual bool nextFeature( QgsFeature &f );
%Docstring
fetch next feature, return ``True`` on success
Fetch next feature and stores in ``f``, returns ``True`` on success.
%End
virtual bool rewind() = 0;
%Docstring
reset the iterator to the starting position
Resets the iterator to the starting position.
%End
virtual bool close() = 0;
%Docstring
end of iterating: free the resources / lock
Call to end the iteration. This frees any resources used by the iterator.
%End
@ -259,8 +260,19 @@ Copy constructor copies the iterator, increases ref.count
bool nextFeature( QgsFeature &f );
%Docstring
Fetch next feature and stores in ``f``, returns ``True`` on success.
%End
bool rewind();
%Docstring
Resets the iterator to the starting position.
%End
bool close();
%Docstring
Call to end the iteration. This frees any resources used by the iterator.
%End
bool isValid() const;
%Docstring

View File

@ -368,6 +368,7 @@ Returns a null geometry if the geometry could not be parsed.
};
/************************************************************************