Function Reference: read_MeshlabPoints

csg-toolkit: MLPP = read_MeshlabPoints (filename)
csg-toolkit: [MLPP, pnames] = read_MeshlabPoints (filename)

Read 3D coordinates from a MeshLab PickedPoints file.

This function reads a .pp MeshLab PickedPoints file and returns an N×4 matrix containing the index for each point along with the corresponding x,y,z coordinates in each row. The point name must be numerical, otherwise NaN is returned. If the point names are stored as alpharithmetic strings, then these can be retrieved in a second output argument, pnames, as a cell array of strings. In such case, MLPP is an N×3 matrix containing the x,y,z point coordinates, where N is the number of points.

See also: read_MeshlabPoints

Source Code: read_MeshlabPoints