Skip to content

Commit bf16603

Browse files
adjust changelog and bounding box test functions
1 parent 0622e21 commit bf16603

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
* Implemented `to_points` method in `compas.datastructures.Mesh`, which before raised a `NotImplementedError`.
1212
* Implemented `compute_aabb` method in `compas.datastructures.Datastructure`, which before raised a `NotImplementedError`. Made use of the `compas.geometry.bbox.bounding_box` function.
1313
* Implemented `compute_obb` method in `compas.datastructures.Datastructure`, which before raised a `NotImplementedError`. Made use of the `compas.geometry.bbox_numpy.oriented_bounding_box_numpy` function.
14+
* Added `vertices_to_points` method in `compas.datastructures.CellNetwork`.
15+
* Added `to_points` method in `compas.datastructures.VolMesh`.
16+
* Added test function `test_vertices_to_points`in `test_cell_network.py`.
17+
* Added test function `test_to_points` in `test_graph.py`.
18+
* Added test function `test_to_points` in `test_volmesh.py`.
19+
* Added test functions `test_to_points`, `test_compute_aabb`, and `test_compute_obb` in `test_mesh.py`.
1420

1521
### Changed
1622

tests/compas/datastructures/test_mesh.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,6 +1289,9 @@ def test_face_attributes_includes_all_defaults(box):
12891289

12901290

12911291
def test_compute_aabb():
1292+
if compas.IPY:
1293+
pytest.skip("Skipping test under IronPython.")
1294+
12921295
mesh = Mesh.from_obj(compas.get("tubemesh.obj"))
12931296
aabb = mesh.compute_aabb()
12941297

@@ -1298,6 +1301,9 @@ def test_compute_aabb():
12981301

12991302

13001303
def test_compute_obb():
1304+
if compas.IPY:
1305+
pytest.skip("Skipping test under IronPython.")
1306+
13011307
mesh = Mesh.from_obj(compas.get("tubemesh.obj"))
13021308
obb = mesh.compute_obb()
13031309

0 commit comments

Comments
 (0)