use BRepGProp::LinearProperties
and
GProp_GProps::Mass
( see http://www.opencascade.org/doc40/topology/p_28_2_1.htm )
Archived discussion
How can I get the length of a generic TopoDS_Edge?
Discussion
Posts are displayed in their archived order.
use BRepGProp::LinearProperties
and
GProp_GProps::Mass
( see http://www.opencascade.org/doc40/topology/p_28_2_1.htm )