I use the following code to find the intersection
curve between a surface (MySurface) and a Plane
Most of the generated curves (aCurve1) exactly lie
down on MySurface, but many of them are wrong
that a part of these wrong curves are straight lines and
dont lie down on MySurface.
Thanks for any help that satisfy this mistake.
GeomAPI_IntSS aInterSS(MySurface,MyPlane,1.0e-7 );
//there is only one curve as a result
Handle(Geom_Curve) aCurve1 = aInterSS.Line(1);
//…. show the curve(aCurve1)