Mohammad Shafieipour
  • MB
  • Canada
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (4)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Mohammad Shafieipour's Discussions

Topological Information
6 Replies

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

Started this discussion. Last reply by Mohammad Shafieipour Mar 4.

 

Mohammad Shafieipour's Page

Latest Activity

Mohammad Shafieipour replied to Mohammad Shafieipour's discussion Topological Information
"Thanks very much. Your help is much appreciated."
Mar 4
Dale Fugier replied to Mohammad Shafieipour's discussion Topological Information
"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
Mohammad Shafieipour replied to Mohammad Shafieipour's discussion Topological Information
"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
Dale Fugier replied to Mohammad Shafieipour's discussion Topological Information
"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
Mohammad Shafieipour replied to Mohammad Shafieipour's discussion Topological Information
"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
Dale Fugier replied to Mohammad Shafieipour's discussion Topological Information
"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
Mohammad Shafieipour posted a discussion

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

Comment Wall

You need to be a member of Rhino Community to add comments!

Join Rhino Community

  • No comments yet!
 
 
 

Translate

© 2013   Created by McNeel Admin.

Badges  |  Report an Issue  |  Terms of Service