API Reference > OdGe Classes > OdGeNurbCurve2d Class > OdGeNurbCurve2d Methods > OdGeNurbCurve2d::setEvalMode Method
OdGeNurbCurve2d::setEvalMode Method
Syntax
C++
OdGeNurbCurve2d& setEvalMode(bool evalMode = false);
Parameters 
Description 
bool evalMode = false 
[in] Input state of the evaluation mode. 

Reference to this OdGeNurbCurve2d object.

Sets the evaluation mode. 

 

If evalMode is false, there is no optimization of an internal evaluator. This mode generally should be used if only one or two values per interval between two consecutive knots are evaluated. 

If evalMode is true, then the evaluator optimization is turned on. This provides better performance if three or more values per knot interval are computed. 

Currently not implemented.

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