From 5238384be95be9b80106edea5c23728b1d5427d2 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Thu, 28 Jul 2016 17:00:46 +0200 Subject: [PATCH] [MeL/ME] Rm bounding box check. --- MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp b/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp index bf37ac19c74..b98a244d99d 100644 --- a/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp +++ b/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp @@ -47,15 +47,6 @@ bool Mesh2MeshPropertyInterpolation::setPropertiesForMesh(Mesh *dest_mesh) const return false; } - GeoLib::AABB src_aabb(_src_mesh->getNodes().begin(), _src_mesh->getNodes().end()); - GeoLib::AABB dest_aabb(dest_mesh->getNodes().begin(), dest_mesh->getNodes().end()); - if (!src_aabb.containsAABB(dest_aabb)) { - ERR("MeshLib::Mesh2MeshPropertyInterpolation::setPropertiesForMesh() source mesh to small."); - ERR("src_aabb: %f, %f, %f | %f, %f, %f", src_aabb.getMinPoint()[0], src_aabb.getMinPoint()[1], src_aabb.getMinPoint()[2], src_aabb.getMaxPoint()[0], src_aabb.getMaxPoint()[1], src_aabb.getMaxPoint()[2]); - ERR("dest_aabb: %f, %f, %f | %f, %f, %f", dest_aabb.getMinPoint()[0], dest_aabb.getMinPoint()[1], dest_aabb.getMinPoint()[2], dest_aabb.getMaxPoint()[0], dest_aabb.getMaxPoint()[1], dest_aabb.getMaxPoint()[2]); - return false; - } - interpolatePropertiesForMesh(dest_mesh); return true; -- GitLab