Implement shape serialization for cgal, possibility to supply geometry library to iterator in py

This commit is contained in:
Thomas Krijnen
2023-08-25 21:46:32 +02:00
parent 3f4d183680
commit 5336b2f987
7 changed files with 53 additions and 20 deletions
@@ -96,9 +96,7 @@ namespace ifcopenshell { namespace geometry {
virtual void Triangulate(const IfcGeom::IteratorSettings& settings, const ifcopenshell::geometry::taxonomy::matrix4& place, IfcGeom::Representation::Triangulation* t, int surface_style_id) const;
virtual void Serialize(std::string&) const {
throw std::runtime_error("Not implemented");
}
virtual void Serialize(std::string&) const;
virtual IfcGeom::ConversionResultShape* clone() const {
return new CgalShape(shape_);