API Reference > Classes > PRC Mathematical Operators > OdPrcMath1dFraction Class > OdPrcMath1dFraction Methods > OdPrcMath1dFraction::evaluate Method
OdPrcMath1dFraction::evaluate Method
Syntax
C++
virtual double evaluate(double dParam) const;
Parameters 
Description 
double dParam 
[in] A parameter value to be evaluated. 

Evaluates the parameter using the following formula: output = numerator / denominator. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.