mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
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:
commit
d67d6bd723
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user