API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > evaluate Method > OdModelerGeometry::evaluate Method (double, double, OdGePoint3d&, OdGeVector3d&, OdGeVector3d&)
OdModelerGeometry::evaluate Method (double, double, OdGePoint3d&, OdGeVector3d&, OdGeVector3d&)
Syntax
C++
virtual OdResult evaluate(double dU, double dV, OdGePoint3d& pos, OdGeVector3d& uDeriv, OdGeVector3d& vDeriv) const = 0;
Parameters 
Description 
double dU 
[in] U direction parameter.  
double dV 
[in] V direction parameter.  
OdGePoint3d& pos 
[out] Passed-in parameter for returning the evaluated position on the ModelerGeometry object.  
OdGeVector3d& uDeriv 
[out] Passed-in parameter for returning the first derivative with respect to U.  
OdGeVector3d& vDeriv 
[out] Passed-in parameter for returning the first derivative with respect to V.
 

eOk if evaluation is successfully done. If the U or V value is out of range, returns eOutOfRange.

Evaluates the position and first derivatives on the ModelerGeometry object at the specified parameter value (U, V). 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.