surfa.mesh.sphere.mesh_is_sphere#

surfa.mesh.sphere.mesh_is_sphere(mesh)#

Test whether mesh repesents a sphere. The mesh must (1) have a center that does not deviate from zero by more than 0.1% of its average radius and (2) have a standard deviation in radii not greater than 1% of it’s average.

Parameters

mesh (Mesh) – Spherical mesh to test.

Returns

result

Return type

bool