Fix mapping of booleanresult and begin implementing handling of arbitrary polyhedra operands in 2d

This commit is contained in:
Thomas Krijnen
2020-09-17 14:52:21 +02:00
parent 8bd91113a0
commit b8c90eaa5e
3 changed files with 162 additions and 22 deletions
+1
View File
@@ -96,6 +96,7 @@ namespace kernels {
bool process_extrusion(const cgal_face_t& bottom_face, const taxonomy::direction3& direction, double height, cgal_shape_t& shape);
bool process_as_2d_polygon(const taxonomy::boolean_result* br, std::list<CGAL::Polygon_2<Kernel_>>& loops, double& z0, double& z1);
bool process_as_2d_polygon(const std::list<std::list<std::pair<const IfcUtil::IfcBaseClass*, cgal_shape_t>>>& operands, std::list<CGAL::Polygon_2<Kernel_>>& loops, double& z0, double& z1);
// virtual bool convert_impl(const taxonomy::face*, ifcopenshell::geometry::ConversionResults&);
virtual bool convert_impl(const taxonomy::shell*, ifcopenshell::geometry::ConversionResults&);