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 %End
public: public:
QgsCameraController *cameraController(); QgsCameraController *cameraController() const;
%Docstring %Docstring
Returns camera controller Returns camera controller
%End %End
@ -49,7 +49,7 @@ Resets camera view to show the extent ``extent`` (top view)
.. versionadded:: 3.26 .. versionadded:: 3.26
%End %End
QVector<QgsPointXY> viewFrustum2DExtent(); QVector<QgsPointXY> viewFrustum2DExtent() const;
%Docstring %Docstring
Calculates the 2D extent viewed by the 3D camera as the vertices of the viewed trapezoid 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 Returns the current state of the scene
%End %End
float worldSpaceError( float epsilon, float distance ); float worldSpaceError( float epsilon, float distance ) const;
%Docstring %Docstring
Given screen error (in pixels) and distance from camera (in 3D world coordinates), this function 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. 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 %Docstring
Returns the scene extent in the map's CRS 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 ); virtual bool nextFeature( QgsFeature &f );
%Docstring %Docstring
fetch next feature, return ``True`` on success Fetch next feature and stores in ``f``, returns ``True`` on success.
%End %End
virtual bool rewind() = 0; virtual bool rewind() = 0;
%Docstring %Docstring
reset the iterator to the starting position Resets the iterator to the starting position.
%End %End
virtual bool close() = 0; virtual bool close() = 0;
%Docstring %Docstring
end of iterating: free the resources / lock Call to end the iteration. This frees any resources used by the iterator.
%End %End
@ -259,8 +260,19 @@ Copy constructor copies the iterator, increases ref.count
bool nextFeature( QgsFeature &f ); bool nextFeature( QgsFeature &f );
%Docstring
Fetch next feature and stores in ``f``, returns ``True`` on success.
%End
bool rewind(); bool rewind();
%Docstring
Resets the iterator to the starting position.
%End
bool close(); bool close();
%Docstring
Call to end the iteration. This frees any resources used by the iterator.
%End
bool isValid() const; bool isValid() const;
%Docstring %Docstring

View File

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