Thu, 06/16/2005 - 17:24
Forums:
Hi,
I have a question on the Geom_CylindricalSurface.
I have a Geom_CylindricalSurface and I want to find the height of this cylinder.
I thought I can have it with the "bounds" method, but the parameter v1 and v2 are infinite.
So, How can I find the height of the cylinder?
Thanks.
Elisa
Thu, 06/16/2005 - 17:31
If the parameters are infinite, so is your surface. Is it possible that you extracted the surface from a face (via BRep_Tool::Surface)? If so, that face could be bounding the height. Try calling BRepTools::UVBounds on the face to get it's parameters.