• MB
• Blog Posts
• Discussions (4)
• Events
• Groups
• Photos
• Photo Albums
• Videos

Topological Information6 Replies

Suppose you have a nurbs_surf as:ON_NurbsSurface* nurbs_surfYou can then convert it to bezier patches according to the…Continue

Latest Activity

"Thanks very much. Your help is much appreciated."
Mar 4
"Like I said, openNURBS does not provide topological information for this. If you wnat to keep track of which patches are neighbors, you will have to do it yourself. Not sure how to make this more clear...  -- Dale"
Mar 4
"I rephrase my question. Suppose I have 2 bezier patches ON_BezierSurface bez1,bez2; How can I tell if these 2 are neighbours or not. "
Mar 4
"Perhaps you should store the results in a 2-d array. Or, store the results in some custom data structure that also maintains the indices of its neighbors.  -- Dale"
Mar 4
"Hi Dale, Thanks. But how can I figure out if the current bez (in the nested loop) is a neighbour of the previous bez or not? "
Mar 4
"Hi Mohammad, No it does not. But it shouldn't be hard to keep track of neighboring patches yourself. -- ON_NurbsSurface srf = ...;for (u = 0; u <= srf.CVCount(0)-srf.Order(0); u++){  for (v = 0; v <= srf.CVCount(1)-srf.Order(1);…"
Mar 4

Topological Information

Suppose you have a nurbs_surf as:ON_NurbsSurface* nurbs_surfYou can then convert it to bezier patches according to the span_index.nurbs_surf->ConvertSpanToBezier(span_index0,span_index1,bezier_surface)my question is that does openNURBS provide topological information about these bezier patches? for example what are the neighbouring bezier patches and etc?See More
Mar 4

Profile Information

Company, School, or Organization
University of Manitoba
I am a
Student
Which operating system do you prefer?
OS X
Discipline/Occupation
Aircraft/Aerospace