Class: QgsPointCloudAttribute

class qgis.core.QgsPointCloudAttribute

Bases: sip.wrapper

Ctor

QgsPointCloudAttribute(name: str, type: QgsPointCloudAttribute.DataType) Ctor

QgsPointCloudAttribute(QgsPointCloudAttribute)

Attribute for point cloud data pair of name and size in bytes

Methods

displayType

Returns the type to use when displaying this field.

isNumeric

Returns True if the specified data type is numeric.

name

Returns name of the attribute

size

Returns size of the attribute in bytes

type

Returns the data type

Attributes

Char

Double

Float

Int32

Short

Char = 0
class DataType

Bases: int

Double = 4
Float = 3
Int32 = 2
Short = 1
displayType(self) → str

Returns the type to use when displaying this field.

This will be used when the full datatype with details has to displayed to the user.

See also

type()

Return type

str

isNumeric(type: QgsPointCloudAttribute.DataType) → bool

Returns True if the specified data type is numeric.

Parameters

type (QgsPointCloudAttribute.DataType) –

Return type

bool

name(self) → str

Returns name of the attribute

Return type

str

size(self) → int

Returns size of the attribute in bytes

Return type

int

type(self)QgsPointCloudAttribute.DataType

Returns the data type

Return type

QgsPointCloudAttribute.DataType