Merge branch 'fix_sphere_getsurfacepoint' into 'master'

fix missing radius in getsurfacepoint of sphere

See merge request jschoeberl/netgen!102
This commit is contained in:
Matthias Hochsteger 2018-10-24 14:30:32 +02:00
commit d67d6bd723

View File

@ -558,7 +558,7 @@ namespace netgen
Point<3> Sphere :: GetSurfacePoint () const
{
// if two spheres touch at exactly that point meshing fails.
return c + Vec<3> (0.12345, 0.54321, 0.8304715488203073);
return c + r * Vec<3> (0.12345, 0.54321, 0.8304715488203073);
}