mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-17 19:09:07 +00:00
34efb480d6
- Disallow open curves for IfcPolygonalBoundedHalfSpace [fixes #3405490 Incorrectly rendered wall in FZK-Haus-EliteCAD.ifc] - Disable tolerance on IfcCompositeCurve - Try to convert IfcConnectedFaceSets to TopoDS_Solids regardless of whether they are open or closed shells, improves openings in IFC files exported by Revit - Provide debugging information based on shape volume on IfcBooleanClippingResult and IfcOpeningElement
52 lines
2.0 KiB
C++
52 lines
2.0 KiB
C++
/********************************************************************************
|
|
* *
|
|
* 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/>. *
|
|
* *
|
|
********************************************************************************/
|
|
|
|
namespace IfcGeomObjects {
|
|
class IfcMesh {
|
|
public:
|
|
int id;
|
|
std::vector<float> verts;
|
|
std::vector<int> faces;
|
|
std::vector<int> edges;
|
|
};
|
|
|
|
class IfcObject {
|
|
public:
|
|
int id;
|
|
int parent_id;
|
|
std::string name;
|
|
std::string type;
|
|
std::string guid;
|
|
std::vector<float> matrix;
|
|
};
|
|
|
|
class IfcGeomObject : public IfcObject {
|
|
public:
|
|
IfcMesh* mesh;
|
|
};
|
|
|
|
bool Next();
|
|
const IfcGeomObject* Get();
|
|
bool Init(const char* fn, bool world_coords = false);
|
|
int Progress();
|
|
const IfcObject* GetObject(int id);
|
|
bool CleanUp();
|
|
std::string GetLog();
|
|
|
|
}; |