Background: I want to use certain parts of the OpenCascade library to develop my application. It is a simple geometric modeller for FE analysis and optimization. I have looked through the docs for OCAF and found these confusing and really do not have the time to get to grips with it. Also the visualization is written in-house. So I basically want to use modules upto and including geometric algorithms and data exchange. Two questions have arised in my mind and I would like to get some input from more experienced OC users.
1) If I am building a geometric model 'on the fly' what is the best way to do this. The way I see it is that I need a class that holds the geometric entities created and updated the topological associations of them. For example class GMModel which would have methods such as add edge, add face etc. Is there something in OC that has this capabiblities already ? What do people do for this situation ?
2) The second question regard assigning attributes to OC entities. For example an integer id, or a double value to an edge of face. From what I understand part of OCAF's philosophy is this key driven process to which entities of any type are grouped. I know people out there are not using OCAF so how do you approach this problem ??
Your help would be greatly appreciated
Kind regards Simon