Learn R Programming

molaR (version 4.2)

molaR_Clean: Clean up problem ply files

Description

Function will remove floating verticies, and faces with zero area. These can cause issues when using molaR's primary functions of DNE, RFI, and OPC

Usage

molaR_Clean(plyFile, cleanType = "Both")

Arguments

plyFile
An object of classes 'mesh3d' and 'shape3d'
cleanType
logical asking what to clean, Verticies, Faces or Both. Defaults to Both.

Details

This function cleans up problematic ply files. Some smoothed files will have faces of zero area, or floating verticies. DNE and OPC cannot be calculated on these files. Running the plys through this function will allow those calculations to be made.