Fix compilation of IfcMax by separating ShapeList definition into different header

This commit is contained in:
Thomas Krijnen
2011-11-30 11:50:17 +00:00
parent d102327009
commit 1a40a9f78c
3 changed files with 33 additions and 4 deletions
+2 -3
View File
@@ -40,10 +40,9 @@
#include "../ifcparse/IfcParse.h"
#include "../ifcparse/IfcUtil.h"
namespace IfcGeom {
typedef std::pair<gp_GTrsf*,const TopoDS_Shape*> LocationShape;
typedef std::vector<LocationShape> ShapeList;
#include "../ifcgeom/IfcShapeList.h"
namespace IfcGeom {
bool convert_wire_to_face(const TopoDS_Wire& wire, TopoDS_Face& face);
bool convert_shapes(const IfcUtil::IfcBaseClass* L, ShapeList& result);
bool is_shape_collection(const IfcUtil::IfcBaseClass* L);
+1 -1
View File
@@ -64,7 +64,7 @@
#include <gp_Trsf.hxx>
#include <gp_Trsf2d.hxx>
#include "../ifcgeom/IfcGeom.h"
#include "../ifcgeom/IfcShapeList.h"
namespace IfcGeomObjects {
+30
View File
@@ -0,0 +1,30 @@
/********************************************************************************
* *
* This file is part of IfcOpenShell. *
* *
* IfcOpenShell is free software: you can redistribute it and/or modify *
* it under the terms of the Lesser GNU General Public License as published by *
* the Free Software Foundation, either version 3.0 of the License, or *
* (at your option) any later version. *
* *
* IfcOpenShell is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Lesser GNU General Public License for more details. *
* *
* You should have received a copy of the Lesser GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* *
********************************************************************************/
#ifndef IFCSHAPELIST_H
#define IFCSHAPELIST_H
#include <gp_GTrsf.hxx>
#include <TopoDS_Shape.hxx>
namespace IfcGeom {
typedef std::pair<gp_GTrsf*,const TopoDS_Shape*> LocationShape;
typedef std::vector<LocationShape> ShapeList;
}
#endif