Open Cascade:计算体积

TopoDS_Shape shape;
...
GProp_GProps System;
BRepGProp::LinearProperties(shape, System);
BRepGProp::SurfaceProperties(shape, System);
BRepGProp::VolumeProperties(shape, System);
System.Mass();

 

posted @ 2019-07-24 10:19  余生以学  阅读(832)  评论(0编辑  收藏  举报