From db44eaf2216cfd29bc98a18d84ef3eef55273d7d Mon Sep 17 00:00:00 2001 From: aothms Date: Sun, 24 Jan 2021 15:49:46 +0100 Subject: [PATCH] Temporarily disable serialization --- src/ifcgeom/schema_agnostic/Serialization.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ifcgeom/schema_agnostic/Serialization.cpp b/src/ifcgeom/schema_agnostic/Serialization.cpp index 1e618c5f06..41bc4f08e2 100644 --- a/src/ifcgeom/schema_agnostic/Serialization.cpp +++ b/src/ifcgeom/schema_agnostic/Serialization.cpp @@ -2,6 +2,7 @@ #include +/* namespace IfcGeom { extern IfcUtil::IfcBaseClass* tesselate_Ifc2x3(const TopoDS_Shape& shape, double deflection); extern IfcUtil::IfcBaseClass* tesselate_Ifc4(const TopoDS_Shape& shape, double deflection); @@ -20,11 +21,14 @@ IfcUtil::IfcBaseClass* execute_based_on_schema(Fn fn1, Fn fn2, const std::string throw IfcParse::IfcException("No geometry serialization available for " + schema_name); } } +*/ IfcUtil::IfcBaseClass* IfcGeom::tesselate(const std::string& schema_name, const TopoDS_Shape& shape, double deflection) { - return execute_based_on_schema(IfcGeom::tesselate_Ifc2x3, IfcGeom::tesselate_Ifc4, schema_name, shape, deflection); + return nullptr; + // return execute_based_on_schema(IfcGeom::tesselate_Ifc2x3, IfcGeom::tesselate_Ifc4, schema_name, shape, deflection); } IfcUtil::IfcBaseClass* IfcGeom::serialise(const std::string& schema_name, const TopoDS_Shape& shape, bool advanced) { - return execute_based_on_schema(IfcGeom::serialise_Ifc2x3, IfcGeom::serialise_Ifc4, schema_name, shape, advanced); + return nullptr; + // return execute_based_on_schema(IfcGeom::serialise_Ifc2x3, IfcGeom::serialise_Ifc4, schema_name, shape, advanced); } \ No newline at end of file