180181182183184185186187188
public Mesh3D toMesh(int res) { return toMesh(null, res); } public Mesh3D toMesh(Mesh3D mesh, int res) { SurfaceMeshBuilder builder = new SurfaceMeshBuilder(new SphereFunction( this)); return builder.createMesh(mesh, res, 1); }