Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgBSplineSurface::evaluate Method (double, double, OdGePoint3d&, OdGeVector3d&, OdGeVector3d&)
Syntax
C++
OdResult evaluate(double dU, double dV, OdGePoint3d& pos, OdGeVector3d& uDeriv, OdGeVector3d& vDeriv) const;

Evaluates the position and first derivatives on the NURBS surface at the specified parameter value (u, v). 

 

Parameters
Description
dU
[in] u direction parameter.
dV
[in] v direction parameter.
pos
[out] A passed-in parameter for returning the evaluated position on the surface.
uDeriv
[out] A passed-in parameter for returning the first derivative with respect to u.
vDeriv
[out] A passed-in parameter for returning the first derivative with respect to v.

Returns eOk if evaluation is successfully done. If the surface doesn't contain any NURBS information, returns eFail. If the u or v value is out of range, returns eOutOfRange.

This method is implemented only for Spatial modeler and returns eNotImplementedYet status for other modelers.

Copyright © 2002-2022. Open Design Alliance All rights reserved.