add SIP_SKIP

This commit is contained in:
Belgacem 2021-01-13 03:52:03 +01:00 committed by Martin Dobias
parent f362eab3d8
commit 93f9ec2f79
2 changed files with 2 additions and 13 deletions

View File

@ -79,18 +79,7 @@ Returns ``True`` if the specified data ``type`` is numeric.
sipRes = PyUnicode_FromString( str.toUtf8().constData() );
%End
static void getPointXYZ( const char *ptr, int i, std::size_t pointRecordSize, int xOffset, QgsPointCloudAttribute::DataType xType,
int yOffset, QgsPointCloudAttribute::DataType yType,
int zOffset, QgsPointCloudAttribute::DataType zType,
const QgsVector3D &indexScale, const QgsVector3D &indexOffset, double &x, double &y, double &z );
%Docstring
Retrieves the x, y, z values for the point at index ``i``.
%End
static QVariantMap getAttributeMap( const char *data, std::size_t recordOffset, const QgsPointCloudAttributeCollection &attributeCollection );
%Docstring
Retrieves all the attributes of a point
%End
};

View File

@ -91,12 +91,12 @@ class CORE_EXPORT QgsPointCloudAttribute
static void getPointXYZ( const char *ptr, int i, std::size_t pointRecordSize, int xOffset, QgsPointCloudAttribute::DataType xType,
int yOffset, QgsPointCloudAttribute::DataType yType,
int zOffset, QgsPointCloudAttribute::DataType zType,
const QgsVector3D &indexScale, const QgsVector3D &indexOffset, double &x, double &y, double &z );
const QgsVector3D &indexScale, const QgsVector3D &indexOffset, double &x, double &y, double &z ) SIP_SKIP;
/**
* Retrieves all the attributes of a point
*/
static QVariantMap getAttributeMap( const char *data, std::size_t recordOffset, const QgsPointCloudAttributeCollection &attributeCollection );
static QVariantMap getAttributeMap( const char *data, std::size_t recordOffset, const QgsPointCloudAttributeCollection &attributeCollection ) SIP_SKIP;
private:
void updateSize();