diff --git a/src/ifcgeom/IfcGeom.h b/src/ifcgeom/IfcGeom.h index 322d0c2bfd..7719ce8449 100644 --- a/src/ifcgeom/IfcGeom.h +++ b/src/ifcgeom/IfcGeom.h @@ -40,10 +40,9 @@ #include "../ifcparse/IfcParse.h" #include "../ifcparse/IfcUtil.h" -namespace IfcGeom { - typedef std::pair LocationShape; - typedef std::vector 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); diff --git a/src/ifcgeom/IfcGeomObjects.h b/src/ifcgeom/IfcGeomObjects.h index 817dbf83e4..b2cf90d865 100644 --- a/src/ifcgeom/IfcGeomObjects.h +++ b/src/ifcgeom/IfcGeomObjects.h @@ -64,7 +64,7 @@ #include #include -#include "../ifcgeom/IfcGeom.h" +#include "../ifcgeom/IfcShapeList.h" namespace IfcGeomObjects { diff --git a/src/ifcgeom/IfcShapeList.h b/src/ifcgeom/IfcShapeList.h new file mode 100644 index 0000000000..338979c2be --- /dev/null +++ b/src/ifcgeom/IfcShapeList.h @@ -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 . * + * * + ********************************************************************************/ + +#ifndef IFCSHAPELIST_H +#define IFCSHAPELIST_H + +#include +#include + +namespace IfcGeom { + typedef std::pair LocationShape; + typedef std::vector ShapeList; +} +#endif