Click or drag to resize

PointCloudCopyPointsXYZ Method

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

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

Return Value

Type: Single
Rank 3 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 is row (0 to height-1), second dimension is column (0 to width-1), and third dimension is x/y/z (x=0, y=1, z=2). For example, to get z coordinate of row 100, column 200 on the 2D grid, use index [100, 200, 2].
See Also