- Fixed CMake errors, added missing libraries

- Basic checks for valid file stream, seperated logging to stdout and stderr
- Use placement new to reconstruct MakeFace for non-planar face
This commit is contained in:
Thomas Krijnen
2011-08-07 10:21:22 +00:00
parent 5a475bfa66
commit c99633eb90
7 changed files with 29 additions and 17 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ int main ( int argc, char** argv ) {
// Parse the file supplied in argv[1]. Returns true on succes.
// The second argument defines whether geometry will be defined using global or local coordinates.
if ( ! IfcGeomObjects::Init(argv[1],true,&ss) ) {
if ( ! IfcGeomObjects::Init(argv[1],true,&std::cout,&ss) ) {
std::cout << "[Error] unable to parse .ifc file or no geometrical entities found" << std::endl;
return 1;
}