API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > evaluate Method > OdModelerGeometry::evaluate Method (double, double, int, OdGePoint3d&, OdGeVector3dArray&)
OdModelerGeometry::evaluate Method (double, double, int, OdGePoint3d&, OdGeVector3dArray&)
Syntax
C++
virtual OdResult evaluate(double dU, double dV, int iDerivDegree, OdGePoint3d& point, OdGeVector3dArray& derivatives) const = 0;
Parameters 
Description 
double dU 
[in] U direction parameter.  
double dV 
[in] V direction parameter.  
int iDerivDegree 
[in] Degree of derivatives to evaluate.  
OdGePoint3d& point 
[out] Passed-in parameter for returning the evaluated position on the ModelerGeometry object.  
OdGeVector3dArray& derivatives 
[out] Passed-in parameter for returning derivatives array of vectors, in the order of uDeriv, vDeriv, uuDeriv, uvDeriv, vvDeriv.
 

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

Evaluates the position and an arbitrary number of derivatives of the ModelerGeometry object at the specified parameter value (U, V). 

 

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