modify parameters of a Topods_shape

Hi!

I work on a geometric modeler and I have to acces to parameters of a topods_shape in order to modify it.
But I don't find any fonction in opencascade toolkits.
Can you tell me how can I do?

Patrik Mueller's picture

Also hi :-))

What do you mean with parameters? I'm afraid you're thinking of i.e. a boxes width, height....
There are two possibilities for that (if someone knows others - tell it):
- work with OCAF (there's a nice example with boxes and cylinders)
- build classes with handles or member variables to a TopoDS_Shape and include your values to this class.

HTH,
Patrik Müller