@ Pure public static boolean containsSpherePoint ( double cx , double cy , double cz , double radius , double px , double py , double pz ) { return FunctionalPoint3D . distanceSquaredPointPoint ( px , py , pz , cx , cy , cz ) <= ( radius * radius ) ; }
Replies if the given point is inside the given sphere .