Get the UVBounds of a face

Essentially, I am trying to find the UVBounds of a face and Iam using the API call "Face2->IGetUVBounds ( &retval )". But, I noticed thatwhen I use "Surface->IEvaluate ( UParam, VParam, NumUDeriv, NumVDeriv,retval )" at the UV values returned by this API call, I getpoints that do not correspond to the max/min UVbounds of the face.I was expecting to see the points at the vertices of the face.

I also tried using some other API calls to get the UV parametervalues of the face, like Surface->IParameterization ( retval ),but even that does not seem to give the correct UV values.

If anyone is interested, I am attaching a sample piece of code anda part file (with a face saying "Pick Me") that will reproduce thisproblem. I am also pasting the code here:

double faceRange[4] = {0};
pFace2->IGetUVBounds(faceRange);
LPDISPATCH pTempSurface = 0;
pFace2->GetSurface(&pTempSurface);
LPSURFACE pSurface = 0;
pTempSurface->QueryInterface(IID_ISurface,(void**)&pSurface);

double minUminV[6], minUmaxV[6], maxUminV[6], maxUmaxV[6];
pSurface->IEvaluate ( faceRange[0], faceRange[2], 0, 0, minUmaxV);
pSurface->IEvaluate ( faceRange[0], faceRange[3], 0, 0, minUmaxV);
pSurface->IEvaluate ( faceRange[1], faceRange[2], 0, 0, maxUminV);
pSurface->IEvaluate ( faceRange[1], faceRange[3], 0, 0, maxUmaxV);

// Note: All these points have been plotted as sketch points in themodel. Note the points do not correspond to the actual uvbounds ofthe face. Please let me know if I need to use some other API callto get the correct UV values of the face.SolidworksApi macros