SandroRossi Thu, 01/21/2010 - 22:17 Forums: Other usage issuesHi to all, is possible to calculate the surface of tha faces of a topods_shape and the volume of the entire topods_shape? thanks Pawel Fri, 01/22/2010 - 03:02 Hi Sandro, try this TopoDS_Shape shape; ... GProp_GProps System; BRepGProp::LinearProperties(shape, System); BRepGProp::SurfaceProperties(shape, System); BRepGProp::VolumeProperties(shape, System); System.Mass(); Pawel Log in to post comments
Fri, 01/22/2010 - 03:02
Hi Sandro,
try this
TopoDS_Shape shape;
...
GProp_GProps System;
BRepGProp::LinearProperties(shape, System);
BRepGProp::SurfaceProperties(shape, System);
BRepGProp::VolumeProperties(shape, System);
System.Mass();
Pawel