mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 19:36:21 +00:00
Use BRepMesh_IncrementalMesh rather than BRepMesh::Mesh. Thanks lorinma.
This commit is contained in:
@@ -89,7 +89,7 @@
|
|||||||
|
|
||||||
#include <BRepGProp_Face.hxx>
|
#include <BRepGProp_Face.hxx>
|
||||||
|
|
||||||
#include <BRepMesh.hxx>
|
#include <BRepMesh_IncrementalMesh.hxx>
|
||||||
#include <BRepTools.hxx>
|
#include <BRepTools.hxx>
|
||||||
|
|
||||||
#include <Poly_Triangulation.hxx>
|
#include <Poly_Triangulation.hxx>
|
||||||
@@ -568,7 +568,7 @@ double IfcGeom::Kernel::getValue(GeomValue var) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
IfcSchema::IfcProductDefinitionShape* IfcGeom::tesselate(TopoDS_Shape& shape, double deflection, IfcEntityList::ptr es) {
|
IfcSchema::IfcProductDefinitionShape* IfcGeom::tesselate(TopoDS_Shape& shape, double deflection, IfcEntityList::ptr es) {
|
||||||
BRepMesh::Mesh(shape, deflection);
|
BRepMesh_IncrementalMesh(shape, deflection);
|
||||||
|
|
||||||
IfcSchema::IfcFace::list::ptr faces (new IfcSchema::IfcFace::list);
|
IfcSchema::IfcFace::list::ptr faces (new IfcSchema::IfcFace::list);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user