mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-29 16:22:53 +00:00
Keep moving schema agnostic code out of kernel
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include <TopoDS_Wire.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include "../ifcgeom/IfcGeom.h"
|
||||
#include "../ifcgeom_schema_agnostic/wire_utils.h"
|
||||
|
||||
#define Kernel MAKE_TYPE_NAME(Kernel)
|
||||
|
||||
@@ -111,7 +112,7 @@ bool IfcGeom::Kernel::convert(const IfcSchema::IfcPolygonalFaceSet* pfs, TopoDS_
|
||||
|
||||
if (not_planar) {
|
||||
TopTools_ListOfShape fs;
|
||||
if (triangulate_wire(ws, fs)) {
|
||||
if (util::triangulate_wire(ws, fs)) {
|
||||
Logger::Warning("Triangulated face boundary:", pfs);
|
||||
TopTools_ListIteratorOfListOfShape it(fs);
|
||||
for (; it.More(); it.Next()) {
|
||||
|
||||
Reference in New Issue
Block a user