molaR_Clean | R Documentation |
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
molaR_Clean(plyFile, cleanType = "Both", verbose = TRUE)
plyFile |
An object of classes 'mesh3d' and 'shape3d' |
cleanType |
String with three arguments defining what to clean: Vertices, Faces, or Both. Defaults to Both. |
verbose |
Logical indicating if the function should report changes to ply |
This function cleans up problematic ply files. Some smoothed files will have faces of zero area, or floating vertices. DNE and OPC cannot be calculated on these files. Running the plys through this function will allow those calculations to be made.
Tooth <- molaR_Clean(Tooth)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.