DiscussionsIssue archiveOther usage issues

Archived discussion

Creating 2d array of points to create surface

Other usage issuesWed, 09/19/2007 - 07:271 reply

Browse this forum
QuestionAuthor

To use the geomAPI_pointstoBsplineSurface class to construct a surface you need to have an ordered 2d array of points, is that correct?

How must they be ordered and how does this order relate to the surface for it to work?

How would I built this array for an irregular shaped surface with greater than 4 sides? Is this possible?

Thankyou very much
RB

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Hi Roger,

To construct a surface with more than 4 sides, you would have to first subdivide your points to form 4-sided patches and then approximate.

Ordering the points in a typical matrix arrangement (plain line-by-line ordering) worked for me.

The resulting b-spline has a nice property, that the parameters 0 and 1 coincide with the corresponding edges of your point array