ISO Curve Bug

Hello,
I am using OCC 6.1, I generated the UIso and VIso lines according to the surface Bounds(U1,U2,V1,V2) of a Geom_Surface.

It seems that the most generated iso curves are ok but it's clear that a few of them are not inside the surface. I think this is a bug; Is there anyone who knows a solution?

Best Regards,
Akbari

jelle's picture

Are your surfaces trimmed?
Extracting an iso line will be over the extend of the (untrimmed) surface

akbari1358_31365's picture

It's a surface just generated from some points.

Alexander Luger's picture

You don't want the bounds of the Geom_Surface, but those from the topological representation:
BRepTools::UVBounds(const TopoDS_Face &F, Standard_Real &UMin, Standard_Real &UMax, Standard_Real &VMin, Standard_Real &VMax).

Regards,
Alex