This is a file reader for the point cloud generated by an Intel Device (such as D400 and L500), developped with 100% Golang
Adapted from https://pkg.go.dev/github.com/alexbaden/go-plyfile which is no longer usable
Main functions takes the filename as input and have 2 output : the slice contains the vertices and another contains the faces
2 main functions : ReadPLYMono32 reads a monochrome file (without texture information) returns 32 bits data ReadPLYMono64 reads a monochrome file (without texture information) returns 64 bits data
Example of usage :
vertexList, faceList := ReadPLYMono64("./example.ply")