TrigFormatter Class Reference
Inheritance diagram for TrigFormatter:
[legend]

Public Member Functions

 TrigFormatter (RexxCallContext *c, bool explicitPrecision, uint32_t p, const char *u)
 
RexxObjectPtr evaluate (double angle, int function)
 
RexxObjectPtr evaluateArc (double x, int function)
 
- Public Member Functions inherited from NumericFormatter
 NumericFormatter (RexxCallContext *c, bool explicitPrecision, uint32_t p)
 
RexxObjectPtr format (double x)
 

Protected Types

enum  Units { DEGREES , RADIANS , GRADES }
 

Protected Attributes

Units units
 
- Protected Attributes inherited from NumericFormatter
uint32_t precision
 
RexxCallContextcontext
 
bool optionError
 

Detailed Description

Definition at line 159 of file rxmath.cpp.

Member Enumeration Documentation

◆ Units

enum TrigFormatter::Units
protected
Enumerator
DEGREES 
RADIANS 
GRADES 

Definition at line 342 of file rxmath.cpp.

Constructor & Destructor Documentation

◆ TrigFormatter()

TrigFormatter::TrigFormatter ( RexxCallContext c,
bool  explicitPrecision,
uint32_t  p,
const char *  u 
)
inline

Member Function Documentation

◆ evaluate()

RexxObjectPtr TrigFormatter::evaluate ( double  angle,
int  function 
)
inline

◆ evaluateArc()

RexxObjectPtr TrigFormatter::evaluateArc ( double  x,
int  function 
)
inline

Member Data Documentation

◆ units

Units TrigFormatter::units
protected

Definition at line 349 of file rxmath.cpp.

Referenced by evaluate(), evaluateArc(), and TrigFormatter().


The documentation for this class was generated from the following file: