Code author: Niklaus Johner <niklaus.johner@a3.epfl.ch>
This module is used to mainly to calculate curvatures of a point set surface Such surfaces can be obtained from densities using functions form the density_alg module
This function estimates the surface of a point set surface by simply summing up the number of points times the infinitesimal surface given by sampling**2.0
This function estimates the surface of a point set surface by simply summing up the number of points times the infinitesimal surface given by sampling**2.0
This function assigns normals to each atom in eh No specific orientation of the normals will come out
This function assigns normals to each atom in eh No specific orientation of the normals will come out
This function assigns normals to each atom in eh No specific orientation of the normals will come out
We keep only points that are at a maximum of the density in the direction of the normal
We keep only points that have a larger density than the other points along the normal
This function calculates the principal curvatures k1 and k2 and their direction (principal directions e1 and e2), as well as the gaussian and mean curvature for each atom in the entity and assigns them as FloatProp. Each atom should have a normal vector assigned to it beforehand, as done by the CalculateNormals function.