API Reference > Classes > PRC Mathematical Operators > OdPrcMath1dFraction Class
OdPrcMath1dFraction Class
OdPrcMath1dFractionOdPrcMath1dFractionOdPrcMath1dFraction
Syntax
C++
class OdPrcMath1dFraction : public OdPrcMath1d;

PrcMath1dFraction.h

 

Class stores information about a fraction of two one-dimensional equations.

Returns the current fraction denominator. 
Evaluates the parameter using the following formula: output = numerator / denominator.
 
Returns the current numerator value. 
Sets a new value of the fraction denominator.
 
Sets a new value of the fraction numerator.
 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.