U V bounding parameters of a face

How can i get the bounds of a face (uMin, uMax, vMin, vMax)? if call Surface->Bounds(...), it returns infinite, because the underlying surface is infinite. Is there any API to get the bounding parameters of a face?

Stephane Routelous's picture

did you try BRepTools::UVBounds ?

Stephane

suresh's picture

Thanks Stephane.
It worked. I didn't notice that API before.