Fix compilation of IfcOpenHouse, move IfcGeom::tesselate back directly in IfcGeom namespace

This commit is contained in:
Thomas Krijnen
2015-01-06 10:19:24 +00:00
parent f3c26c372d
commit 1c757c351b
3 changed files with 3 additions and 3 deletions
+2 -1
View File
@@ -123,7 +123,6 @@ public:
void setValue(GeomValue var, double value);
double getValue(GeomValue var);
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.);
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
+1 -1
View File
@@ -567,7 +567,7 @@ double IfcGeom::Kernel::getValue(GeomValue var) {
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);
IfcSchema::IfcFace::list::ptr faces (new IfcSchema::IfcFace::list);
-1
View File
@@ -750,7 +750,6 @@ IfcFile::IfcFile(bool create_latebound_entities)
//
// Parses the IFC file in fn
// Creates the maps
// Gets the unit definitins from the file
//
bool IfcFile::Init(const std::string& fn) {
return IfcFile::Init(new IfcSpfStream(fn));