Esempio n. 1
0
 def test_point_in_surface_sphere_2(self):
     """Test point in surface sphere generation."""
     center = matrix([5, 6, 7])
     radius = 1
     points = generate_points_in_surface_sphere(
         center=center, radius=radius, num_of_points=16)
     self._check_points(radius, points, center=center)
Esempio n. 2
0
 def test_point_in_surface_sphere_1(self):
     """Test point in surface sphere generation."""
     radius = 4
     points = generate_points_in_surface_sphere(center=matrix([0, 0, 0]),
                                                radius=radius,
                                                num_of_points=16)
     self._check_points(radius, points)
Esempio n. 3
0
 def test_point_in_surface_sphere_2(self):
     """Test point in surface sphere generation."""
     center = matrix([5, 6, 7])
     radius = 1
     points = generate_points_in_surface_sphere(center=center,
                                                radius=radius,
                                                num_of_points=16)
     self._check_points(radius, points, center=center)
Esempio n. 4
0
 def test_point_in_surface_sphere_1(self):
     """Test point in surface sphere generation."""
     radius = 4
     points = generate_points_in_surface_sphere(
         center=matrix([0, 0, 0]), radius=radius, num_of_points=16)
     self._check_points(radius, points)