Tue, 02/07/2012 - 09:40
Forums:
Hi all,
I see that GeomAPI_IntCS provides exactly what I want but it does it for a curve and a SURFACE, whereas I need the number of intersection segments between a FACE and a curve (we know that the curve lies wholly on the face). IntCurvesFace_ShapeIntersector does provide a way to intersect a curve and a face but it ends up providing only the points of intersections and not intervals - ccan somebody please help me out with this one.
Thanks.
Thu, 04/12/2012 - 14:03
I understand the curve lies on the (untrimmed) surface, and you need to pieces which are inside the face.
I would try with a projection algorithm:
create an edge from the curve and call BRepAlgo_NormalProjection or BRepOffsetAPI_NormalProjection.
Mauro
Thu, 04/12/2012 - 20:46
Thanks for helping, will try that.