mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user