Jump to content
Sign in to follow this  
nicholas_yue

evaluateInteriorPointV4() return value ?

Recommended Posts

Hi,


 


  I came across this method which I am planning to use but there is no document about the return values.


 


virtual int          evaluateInteriorPointV4(UT_Vector4 &pos,


                                       fpreal u, fpreal v, fpreal w = 0) const;


 


  I am guessing there must be a reason for not simply returning a boolean.


 


Cheers


Share this post


Link to post
Share on other sites

evaluateInteriorPointV4(UT_Vector4 &pos,......)

 

Value of sampled point returns by reference (&pos). Function returns 0 if evaluation is OK, -1 otherwise.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×