Wed, 02/13/2002 - 18:10
Forums:
Hi,
I need to check if two faces have a common area. Currently, I explore the faces of my solid commoning each in turn with the test face and use
TopoDS_Shape s = c.Shape();
GProp_GProps System;
GProp_GProps* gprops = new GProp_GProps();
BRepGProp::SurfaceProperties(s, *gprops);
gprops->Mass();
to test if mass > 0. However, the result is frequently zero when the two faces overlap. My question is do I have to set a Cascade precision variable in order to do a common between two faces?
Many thanks,
D.Bramall
Thu, 06/26/2008 - 19:12
have you solved the problem??can you give me a simple example ??
Mon, 06/30/2008 - 08:51
About how to use GProp_GProps etc., please, see Draw command "sprops" for details.