Click or drag to resize

UnorganizedPointCloudCopyPointsXYZ Method

Point coordinates (x, y, and z) as a float array of rank 2 with size Size * 3

Namespace:  Zivid.NET
Assembly:  ZividCoreNET (in ZividCoreNET.dll) Version: 2.17.1.0
Syntax
public float[,] CopyPointsXYZ()

Return Value

Type: Single
Rank 2 float array of XYZ point coordinates
Remarks
This method copies the point coordinates from compute device memory to host (CPU) system memory (RAM) memory and returns them in a float array. First dimension indexes the points of the point cloud (0 to Size - 1), and the second dimension is x/y/z (x=0, y=1, z=2). For example, to get z coordinate of the point at index 100 in the point cloud, use [100, 2].
See Also