The issue of The TopoDS_Shape Move

When I move more than 1000 times (a few hundred times is enough), every time I move my computer after that, it will be very slow.After checking the XML generated by OCAF, I found that the Shape moved the Location plus 1 once, which resulted in too many locations. It seems that the OCC saved all the moving paths.I don't want to change TShape but keep the last location, how should I do that.I only know one way to change TShape, but that's not what I want. Thanks.

daojun wang's picture

If I save the gp_Trsf every time, multiply it by the gp_Trsf last time, and get the result, that will accumulate too much tolerance