IfcGeomObjects: No longer implicitly turn off the availability of triangulated data when USE_BREP_DATA is set. Use DISABLE_TRIANGULATION to explicitly disable the generation of triangulated data to gain performance when only OCC brep data is needed.

This commit is contained in:
Thomas Krijnen
2014-01-02 13:33:54 +00:00
parent 3fa934a056
commit c47a43caf7
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -730,7 +730,6 @@ void IfcGeomObjects::Settings(int setting, bool value) {
break;
case USE_BREP_DATA:
use_brep_data = value;
disable_triangulation = value;
break;
case FASTER_BOOLEANS:
use_faster_booleans = value;
+1 -2
View File
@@ -101,8 +101,7 @@ namespace IfcGeomObjects {
// the related building element representations.
const int DISABLE_OPENING_SUBTRACTIONS = 8;
// Disables the triangulation of the topological representations. Useful if
// the client application understands Open Cascade's native format. Note
// that this setting is implied by the USE_BREP_DATA setting.
// the client application understands Open Cascade's native format.
const int DISABLE_TRIANGULATION = 9;
// End of settings enumeration.
+2 -1
View File
@@ -26,7 +26,8 @@ namespace IfcGeomObjects {
const int SEW_SHELLS = 5;
const int FASTER_BOOLEANS = 6;
const int FORCE_CCW_FACE_ORIENTATION = 7;
const int DISABLE_OPENING_SUBTRACTIONS = 8;
const int DISABLE_OPENING_SUBTRACTIONS = 8;
const int DISABLE_TRIANGULATION = 9;
class Material {
private: