ON_Table class. More...

#include <opennurbs_dimensionformat.h>

Static Public Member Functions

static bool FormatAngleStringDecimal (double angle_radians, int resolution, double roundoff, ON_DimStyle::suppress_zero zero_suppression, ON_wString &formatted_string)
 
static bool FormatAngleStringDMS (double angle_degrees, ON_wString &formatted_string)
 
static bool FormatLength (double distance, ON_DimStyle::LengthDisplay output_lengthdisplay, double round_off, int resolution, ON_DimStyle::suppress_zero zero_suppress, bool bracket_fractions, ON_wString &output)
 
static bool FormatNumber (double distance, ON_DimStyle::OBSOLETE_length_format output_lengthformat, double round_off, int resolution, ON_DimStyle::suppress_zero zero_suppress, bool bracket_fractions, ON_wString &output)
 
static void Fraction (double value, int &wholenumber, int &numerator, int &denominator, int precision)
 
static double RoundOff (double number, double round_off)
 
static void SuppressZeros (ON_wString &dist, ON_DimStyle::suppress_zero sz)
 

Static Public Attributes

static bool bFormatIsAccurate
 

Detailed Description

ON_Table class.

Member Function Documentation

◆ FormatAngleStringDecimal()

static bool ON_NumberFormatter::FormatAngleStringDecimal ( double  angle_radians,
int  resolution,
double  roundoff,
ON_DimStyle::suppress_zero  zero_suppression,
ON_wString formatted_string 
)
static

◆ FormatAngleStringDMS()

static bool ON_NumberFormatter::FormatAngleStringDMS ( double  angle_degrees,
ON_wString formatted_string 
)
static

◆ FormatLength()

static bool ON_NumberFormatter::FormatLength ( double  distance,
ON_DimStyle::LengthDisplay  output_lengthdisplay,
double  round_off,
int  resolution,
ON_DimStyle::suppress_zero  zero_suppress,
bool  bracket_fractions,
ON_wString output 
)
static

◆ FormatNumber()

static bool ON_NumberFormatter::FormatNumber ( double  distance,
ON_DimStyle::OBSOLETE_length_format  output_lengthformat,
double  round_off,
int  resolution,
ON_DimStyle::suppress_zero  zero_suppress,
bool  bracket_fractions,
ON_wString output 
)
static

◆ Fraction()

static void ON_NumberFormatter::Fraction ( double  value,
int &  wholenumber,
int &  numerator,
int &  denominator,
int  precision 
)
static

◆ RoundOff()

static double ON_NumberFormatter::RoundOff ( double  number,
double  round_off 
)
static

◆ SuppressZeros()

static void ON_NumberFormatter::SuppressZeros ( ON_wString dist,
ON_DimStyle::suppress_zero  sz 
)
static

Member Data Documentation

◆ bFormatIsAccurate

bool ON_NumberFormatter::bFormatIsAccurate
static