mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 09:05:18 +00:00
Fix compilation of IfcOpenHouse, move IfcGeom::tesselate back directly in IfcGeom namespace
This commit is contained in:
@@ -123,7 +123,6 @@ public:
|
|||||||
void setValue(GeomValue var, double value);
|
void setValue(GeomValue var, double value);
|
||||||
double getValue(GeomValue var);
|
double getValue(GeomValue var);
|
||||||
bool fill_nonmanifold_wires_with_planar_faces(TopoDS_Shape& shape);
|
bool fill_nonmanifold_wires_with_planar_faces(TopoDS_Shape& shape);
|
||||||
IfcSchema::IfcProductDefinitionShape* tesselate(TopoDS_Shape& shape, double deflection, IfcEntityList::ptr es);
|
|
||||||
void remove_redundant_points_from_loop(TColgp_SequenceOfPnt& polygon, bool closed, double tol=-1.);
|
void remove_redundant_points_from_loop(TColgp_SequenceOfPnt& polygon, bool closed, double tol=-1.);
|
||||||
|
|
||||||
std::pair<std::string, double> initializeUnits(IfcSchema::IfcUnitAssignment*);
|
std::pair<std::string, double> initializeUnits(IfcSchema::IfcUnitAssignment*);
|
||||||
@@ -179,5 +178,7 @@ public:
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
IfcSchema::IfcProductDefinitionShape* tesselate(TopoDS_Shape& shape, double deflection, IfcEntityList::ptr es);
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -567,7 +567,7 @@ double IfcGeom::Kernel::getValue(GeomValue var) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
IfcSchema::IfcProductDefinitionShape* IfcGeom::Kernel::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::Mesh(shape, deflection);
|
||||||
|
|
||||||
IfcSchema::IfcFace::list::ptr faces (new IfcSchema::IfcFace::list);
|
IfcSchema::IfcFace::list::ptr faces (new IfcSchema::IfcFace::list);
|
||||||
|
|||||||
@@ -750,7 +750,6 @@ IfcFile::IfcFile(bool create_latebound_entities)
|
|||||||
//
|
//
|
||||||
// Parses the IFC file in fn
|
// Parses the IFC file in fn
|
||||||
// Creates the maps
|
// Creates the maps
|
||||||
// Gets the unit definitins from the file
|
|
||||||
//
|
//
|
||||||
bool IfcFile::Init(const std::string& fn) {
|
bool IfcFile::Init(const std::string& fn) {
|
||||||
return IfcFile::Init(new IfcSpfStream(fn));
|
return IfcFile::Init(new IfcSpfStream(fn));
|
||||||
|
|||||||
Reference in New Issue
Block a user