public ViewController(bool makeModelCentered = true) { _ifcEngine = new IfcEngine(); _treeData = new CIFCTreeData(_ifcEngine); _meshToIfcItems = new Dictionary <MeshGeometryModel3D, IFCItem>(); _minCorner = new float[3] { float.MaxValue, float.MaxValue, float.MaxValue }; _maxCorner = new float[3] { float.MinValue, float.MinValue, float.MinValue }; _makeModelCentered = makeModelCentered; }
public ViewController(bool makeModelCentered = true) { _ifcEngine = new IfcEngine(); _treeData = new CIFCTreeData(_ifcEngine); _meshToIfcItems = new Dictionary<MeshGeometryModel3D, IFCItem>(); _minCorner = new float[3] { float.MaxValue, float.MaxValue, float.MaxValue }; _maxCorner = new float[3] { float.MinValue, float.MinValue, float.MinValue }; _makeModelCentered = makeModelCentered; }