コード例 #1
0
def test_get_set_minimal_centered_bounding_sphere_radius(poly):
    _test_get_set_minimal_bounding_sphere_radius(poly, True)
コード例 #2
0
def test_get_set_minimal_bounding_sphere_radius(poly):
    _test_get_set_minimal_bounding_sphere_radius(poly)
コード例 #3
0
ファイル: test_circle.py プロジェクト: glotzerlab/coxeter
def test_get_set_minimal_centered_bounding_circle_radius(r, center):
    _test_get_set_minimal_bounding_sphere_radius(Circle(r, center), True)
コード例 #4
0
ファイル: test_ellipse.py プロジェクト: glotzerlab/coxeter
def test_get_set_minimal_centered_bounding_ellipse_radius(a, b, center):
    _test_get_set_minimal_bounding_sphere_radius(Ellipse(a, b, center), True)
コード例 #5
0
ファイル: test_sphere.py プロジェクト: glotzerlab/coxeter
def test_get_set_minimal_bounding_circle_radius(r, center):
    _test_get_set_minimal_bounding_sphere_radius(Sphere(r, center))
コード例 #6
0
def test_get_set_minimal_centered_bounding_circle_radius(a, b, c, center):
    _test_get_set_minimal_bounding_sphere_radius(Ellipsoid(a, b, c, center),
                                                 True)