Skip to content
Permalink
Browse files

Minor api cleanups

  • Loading branch information
nyalldawson committed Oct 26, 2020
1 parent f9e151f commit 5a714372e3ed69d3ebdeee49caa600baded23b63
@@ -36,17 +36,11 @@ Ctor
%End

~QgsPointCloudDataProvider();

virtual QgsRectangle extent() const;


virtual bool isValid() const;


virtual QString name() const = 0;
virtual QgsCoordinateReferenceSystem crs() const = 0;
virtual QString description() const = 0;


};

@@ -35,10 +35,6 @@ Represents a map layer supporting display of point clouds
explicit LayerOptions( const QgsCoordinateTransformContext &transformContext = QgsCoordinateTransformContext( ) );
%Docstring
Constructor for LayerOptions with optional ``transformContext``.

.. note::

transformContext argument was added in QGIS 3.8
%End

QgsCoordinateTransformContext transformContext;
@@ -44,15 +44,14 @@ class CORE_EXPORT QgsPointCloudDataProvider: public QgsDataProvider
QgsDataProvider::ReadFlags flags = QgsDataProvider::ReadFlags() );

~QgsPointCloudDataProvider() override;

QgsRectangle extent() const override;

bool isValid() const override;

virtual QString name() const override = 0;
virtual QgsCoordinateReferenceSystem crs() const override = 0;
virtual QString description() const override = 0;

/**
* Returns the point cloud index associated with the provider.
*
* \note Not available in Python bindings
*/
virtual QgsPointCloudIndex *index() const SIP_SKIP {return nullptr;}

private:
@@ -49,7 +49,6 @@ class CORE_EXPORT QgsPointCloudLayer : public QgsMapLayer

/**
* Constructor for LayerOptions with optional \a transformContext.
* \note transformContext argument was added in QGIS 3.8
*/
explicit LayerOptions( const QgsCoordinateTransformContext &transformContext = QgsCoordinateTransformContext( ) )
: transformContext( transformContext )

0 comments on commit 5a71437

Please sign in to comment.
You can’t perform that action at this time.