Reads Polygon File Format (PLY) files and stores the results in an object of class "mesh3d" - momentarily only triangular meshes are supported.
vcgPlyRead(file, updateNormals = TRUE, clean = TRUE)
Object of class "mesh3d"
with:
3 x n matrix containing n vertices as homolougous coordinates
3 x n matrix containing vertex normals
3 x m integer matrix containing vertex indices forming triangular faces
Per vertex colors if specified in the imported file
character: file to be read.
logical: if TRUE and the imported file contais faces, vertex normals will be (re)calculated.
logical: if TRUE, duplicated and unreference vertices will be removed.
Stefan Schlager
vcgSmooth
,