recently found in the project that the viewer.fitToView ()
method in 2D mode is invalid because there is no model.getData (). InstanceTree
in 2D. Therefore, I want to find the geometric model information of each component in the model, calculate the bounding box, and make a method similar to fitToView
. How to accurately obtain the geometric model information of the component in 2D mode?