DNE(plyFile)read.ply or the read.AVIZO.ply function, with calculated normals.Dirichlet normal energy is calculated on meshes that represent specimen surfaces and have already been downsampled to 10,000 faces and pre-smoothed in a 3D data editing program.
The function does not include boundary faces in the calculation, and therefore the analyzed surface cannot be closed (i.e., it must contain a hole). The function removes the top 0.1 percent of calculated energy densities as outliers. Mesh orientation does not affect this calculation.