I need to connect two non-intersecting non-coplanar closed bspline curves with a surface between them (should be "reasonable", but no other conditions are required).
I found closest points between the two curves (b1 and b2) and constructed b12 and b21, so that b1'-b12-b2'-b21 are contiguous (and non-overlapping, to make sure, b1' and b2' are open segments of b1 and b2). Now, constructing GeomFill_BSplineCurves(b1,b12,b2,b21,GeomFill_StretchStyle) throws . I verified contiguity of the bsplines manually (dumping coordinates). Code snippet is at http://www.arcig.cz/~eudoxos/occ-geomfill.cc temporarily.
Mea culpa? OpenCascade bug? Any idea how to create the surface in a better way? Thanks - Vaclav S.