QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsPointCloudAttributeStatistics Class Reference

Class used to store statistics of one attribute of a point cloud dataset. More...

#include <qgspointcloudstatistics.h>

Public Member Functions

void cumulateStatistics (const QgsPointCloudAttributeStatistics &stats)
 Updates the current point cloud statistics to hold the cumulation of the current statistics and stats.
 
int singleClassCount (int cls) const
 Returns the count of points in given class or -1 on error.
 

Public Attributes

QMap< int, int > classCount
 
int count = 0
 
double maximum = std::numeric_limits<double>::lowest()
 
double mean = 0
 
double minimum = std::numeric_limits<double>::max()
 
double stDev = 0
 

Detailed Description

Class used to store statistics of one attribute of a point cloud dataset.

Since
QGIS 3.26

Definition at line 39 of file qgspointcloudstatistics.h.

Member Function Documentation

◆ cumulateStatistics()

void QgsPointCloudAttributeStatistics::cumulateStatistics ( const QgsPointCloudAttributeStatistics stats)

Updates the current point cloud statistics to hold the cumulation of the current statistics and stats.

Definition at line 29 of file qgspointcloudstatistics.cpp.

◆ singleClassCount()

int QgsPointCloudAttributeStatistics::singleClassCount ( int  cls) const

Returns the count of points in given class or -1 on error.

Since
QGIS 3.42

Definition at line 53 of file qgspointcloudstatistics.cpp.

Member Data Documentation

◆ classCount

QMap<int, int> QgsPointCloudAttributeStatistics::classCount

Definition at line 47 of file qgspointcloudstatistics.h.

◆ count

int QgsPointCloudAttributeStatistics::count = 0

Definition at line 45 of file qgspointcloudstatistics.h.

◆ maximum

double QgsPointCloudAttributeStatistics::maximum = std::numeric_limits<double>::lowest()

Definition at line 42 of file qgspointcloudstatistics.h.

◆ mean

double QgsPointCloudAttributeStatistics::mean = 0

Definition at line 43 of file qgspointcloudstatistics.h.

◆ minimum

double QgsPointCloudAttributeStatistics::minimum = std::numeric_limits<double>::max()

Definition at line 41 of file qgspointcloudstatistics.h.

◆ stDev

double QgsPointCloudAttributeStatistics::stDev = 0

Definition at line 44 of file qgspointcloudstatistics.h.


The documentation for this class was generated from the following files: