@ Pure public static boolean intersectsSphereSphere ( double x1 , double y1 , double z1 , double radius1 , double x2 , double y2 , double z2 , double radius2 ) { double r = radius1 + radius2 ; return FunctionalPoint3D . distanceSquaredPointPoint ( x1 , y1 , z1 , x2 , y2 , z2 ) < ( r * r ) ; }
Replies if two spheres are intersecting .