Specific surface information extraction using gmsh
I have a OCC brep file and the tags of some surfaces in this file. I want to extract enough information in order to be able to determine if the point lies on the surface or not. (to determine if the triangle lies on the surface)
Unfortunately, we are only able to do this for the Plane surface type, using gmsh/model/getNormal and gmsh/model/getValue, but we are not sure how do we extract information about more complex types like spheres and cylinders.
- How can we get information about center, direction, radius?
Another way to do it is by directly parsing the OCC brep file, but the order of the surfaces in the file doesn't correspond to the order of tags when we import same file in gmsh.
- Is there any way to determine what the surface tag will be just having a file, without importing it?