Skip to content

Commit

Permalink
add SIP_SKIP
Browse files Browse the repository at this point in the history
  • Loading branch information
NEDJIMAbelgacem authored and wonder-sk committed Jan 13, 2021
1 parent f362eab commit 93f9ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
Expand Up @@ -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

};

Expand Down
4 changes: 2 additions & 2 deletions src/core/pointcloud/qgspointcloudattribute.h
Expand Up @@ -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();
Expand Down

0 comments on commit 93f9ec2

Please sign in to comment.