24 std::vector<MeshLib::Node*>
const& nodes,
GeoLib::Polygon const& polygon)
27 auto [rotated_polygon_points, normal] =
32 std::vector<GeoLib::Point*> rotated_nodes;
33 for (
auto node : nodes)
35 rotated_nodes.push_back(
new GeoLib::Point(*node, node->getID()));
41 std::for_each(rotated_nodes.begin(), rotated_nodes.end(),
44 std::vector<bool> outside(rotated_nodes.size(),
true);
56 for (std::size_t k(0); k < rotated_nodes.size(); k++)
65 for (
auto& rotated_node : rotated_nodes)
70 for (
auto& rot_polygon_pnt : rotated_polygon_points)
72 delete rot_polygon_pnt;