Facet data for a surface

Hello ,

I have created b-spline/conical/cylindrical/spherical surfaces using Geom package. I would like to obtain the triangular facet data which can be used for rendering as a shaded surface. I want to use the facet data for display in another application ( not cascade visualization). Kindly suggest some ways/ideas !!!

thanks in advance

- Prasad

Igor Feoktistov's picture

I think, you can make face from your surface, then use BRepMesh package to build triangulation on face. You can get triangulation data from face with help of appropriate methods from class BRep_Tool.

Igor