mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-19 00:02:48 -04:00
Improve dox
This commit is contained in:
parent
792e6bd563
commit
d926789d3b
@ -777,6 +777,8 @@ class QgsProcessingFeatureBasedAlgorithm : QgsProcessingAlgorithm
|
|||||||
Maps the input WKB geometry type (``inputWkbType``) to the corresponding
|
Maps the input WKB geometry type (``inputWkbType``) to the corresponding
|
||||||
output WKB type generated by the algorithm. The default behavior is that the algorithm maintains
|
output WKB type generated by the algorithm. The default behavior is that the algorithm maintains
|
||||||
the same WKB type.
|
the same WKB type.
|
||||||
|
This is called once by the base class when creating the output sink for the algorithm (i.e. it is
|
||||||
|
not called once per feature processed).
|
||||||
:rtype: QgsWkbTypes.Type
|
:rtype: QgsWkbTypes.Type
|
||||||
%End
|
%End
|
||||||
|
|
||||||
@ -787,6 +789,9 @@ class QgsProcessingFeatureBasedAlgorithm : QgsProcessingAlgorithm
|
|||||||
the same fields as are input.
|
the same fields as are input.
|
||||||
Algorithms which add, remove or modify existing fields should override this method and
|
Algorithms which add, remove or modify existing fields should override this method and
|
||||||
implement logic here to indicate which fields are output by the algorithm.
|
implement logic here to indicate which fields are output by the algorithm.
|
||||||
|
|
||||||
|
This is called once by the base class when creating the output sink for the algorithm (i.e. it is
|
||||||
|
not called once per feature processed).
|
||||||
:rtype: QgsFields
|
:rtype: QgsFields
|
||||||
%End
|
%End
|
||||||
|
|
||||||
@ -795,6 +800,9 @@ class QgsProcessingFeatureBasedAlgorithm : QgsProcessingAlgorithm
|
|||||||
Maps the input source coordinate reference system (``inputCrs``) to a corresponding
|
Maps the input source coordinate reference system (``inputCrs``) to a corresponding
|
||||||
output CRS generated by the algorithm. The default behavior is that the algorithm maintains
|
output CRS generated by the algorithm. The default behavior is that the algorithm maintains
|
||||||
the same CRS as the input source.
|
the same CRS as the input source.
|
||||||
|
|
||||||
|
This is called once by the base class when creating the output sink for the algorithm (i.e. it is
|
||||||
|
not called once per feature processed).
|
||||||
:rtype: QgsCoordinateReferenceSystem
|
:rtype: QgsCoordinateReferenceSystem
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
@ -752,6 +752,8 @@ class CORE_EXPORT QgsProcessingFeatureBasedAlgorithm : public QgsProcessingAlgor
|
|||||||
* Maps the input WKB geometry type (\a inputWkbType) to the corresponding
|
* Maps the input WKB geometry type (\a inputWkbType) to the corresponding
|
||||||
* output WKB type generated by the algorithm. The default behavior is that the algorithm maintains
|
* output WKB type generated by the algorithm. The default behavior is that the algorithm maintains
|
||||||
* the same WKB type.
|
* the same WKB type.
|
||||||
|
* This is called once by the base class when creating the output sink for the algorithm (i.e. it is
|
||||||
|
* not called once per feature processed).
|
||||||
*/
|
*/
|
||||||
virtual QgsWkbTypes::Type outputWkbType( QgsWkbTypes::Type inputWkbType ) const { return inputWkbType; }
|
virtual QgsWkbTypes::Type outputWkbType( QgsWkbTypes::Type inputWkbType ) const { return inputWkbType; }
|
||||||
|
|
||||||
@ -761,6 +763,9 @@ class CORE_EXPORT QgsProcessingFeatureBasedAlgorithm : public QgsProcessingAlgor
|
|||||||
* the same fields as are input.
|
* the same fields as are input.
|
||||||
* Algorithms which add, remove or modify existing fields should override this method and
|
* Algorithms which add, remove or modify existing fields should override this method and
|
||||||
* implement logic here to indicate which fields are output by the algorithm.
|
* implement logic here to indicate which fields are output by the algorithm.
|
||||||
|
*
|
||||||
|
* This is called once by the base class when creating the output sink for the algorithm (i.e. it is
|
||||||
|
* not called once per feature processed).
|
||||||
*/
|
*/
|
||||||
virtual QgsFields outputFields( const QgsFields &inputFields ) const { return inputFields; }
|
virtual QgsFields outputFields( const QgsFields &inputFields ) const { return inputFields; }
|
||||||
|
|
||||||
@ -768,6 +773,9 @@ class CORE_EXPORT QgsProcessingFeatureBasedAlgorithm : public QgsProcessingAlgor
|
|||||||
* Maps the input source coordinate reference system (\a inputCrs) to a corresponding
|
* Maps the input source coordinate reference system (\a inputCrs) to a corresponding
|
||||||
* output CRS generated by the algorithm. The default behavior is that the algorithm maintains
|
* output CRS generated by the algorithm. The default behavior is that the algorithm maintains
|
||||||
* the same CRS as the input source.
|
* the same CRS as the input source.
|
||||||
|
*
|
||||||
|
* This is called once by the base class when creating the output sink for the algorithm (i.e. it is
|
||||||
|
* not called once per feature processed).
|
||||||
*/
|
*/
|
||||||
virtual QgsCoordinateReferenceSystem outputCrs( const QgsCoordinateReferenceSystem &inputCrs ) const { return inputCrs; }
|
virtual QgsCoordinateReferenceSystem outputCrs( const QgsCoordinateReferenceSystem &inputCrs ) const { return inputCrs; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user