PointList Class

Namespace: id3.Devices

Definition

Represents a point list.
class PointList
class PointList implements Finalizable
public partial class PointList
public class PointList implements AutoCloseable, Serializable
typedef struct id3DevicesPointList *ID3_DEVICES_POINT_LIST;

Usage

pointListInstance = PointList()
# ...

Explicit destruction

# ...
del pointListInstance
final pointListInstance = sdk.PointList();
// ...

Explicit destruction

// ...
pointListInstance.dispose()
using (var pointListInstance = new PointList())
{
   // ...
}

Explicit destruction

var pointListInstance = new PointList()
// ...
pointListInstance.Dispose()
try (PointList pointListInstance = new PointList()) {
// ...
}

Explicit destruction

PointList pointListInstance = new PointList();
// ...
pointListInstance.close();
ID3_DEVICES_POINT_LIST hPointList{};
int err = id3DevicesPointList_Initialize(&hPointList);
if (err == ID3_SUCCESS) {
    // ...
    id3DevicesPointList_Dispose(&hPointList);
}

Properties

Name

Type

Description

count

int

Gets the number of elements contained in the list

operator [int index]

Point

Gets or sets the element at the specified index in the list.

Iteration

This class supports iteration in Dart, C#, Java and Python.

Methods

Name

Description

add

Adds an item to the PointList object.

clear

Clears the PointList object.

clone

Clones the PointList object.

get

Gets an item of the PointList object.

getCount

Gets the number of elements in the PointList object.

removeAt

Removes an element of the PointList object.

resize

PointList object.

set

Sets an item of the PointList object.