DiscussionsIssue archiveOther usage issues

Archived discussion

Create a surface from for curve

Other usage issuesWed, 01/12/2005 - 11:081 reply

Browse this forum
QuestionAuthor

Hi, I'm beginner in OC.
I've the point of four curve and I need to create a surface from these point. There is a simple example that make this?
PS: Sorry for my English

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Perhaps the answer is too late for you.

Handle(Geom_BSplineCurve) curves[4];
For each curve, you make like this:
Handle(Geom_BSplineCurve) SPL1 = GeomAPI_PointsToBSpline(pnts).Curve();
curves[j] = SPL1;
and finally you make the face:
GeomFill_BSplineCurves bsurf; bsurf=GeomFill_BSplineCurves(curves[0],curves[1],curves[2],curves[3],GeomFill_CoonsStyle);