ViewDesignEngine  3.1.0
高性能 CAD 计算几何引擎
format_utils.h 文件参考
#include "vde/core/point.h"
#include <string>
#include <sstream>
#include <iomanip>
#include <cmath>
#include <cstdio>
format_utils.h 的引用(Include)关系图:

浏览源代码.

命名空间

 vde
 
 vde::foundation
 自适应双精度谓词后端(默认)
 

函数

std::string vde::foundation::fmt_double (double v, int precision=12)
 以 CAD 级别精度格式化双精度浮点数 更多...
 
std::string vde::foundation::fmt_iges_real (double v, int=12)
 IGES 格式实数输出 更多...
 
std::string vde::foundation::fmt_point (const core::Point3D &p, bool use_d=false)
 格式化三维点为逗号分隔字符串 更多...
 
std::string vde::foundation::pad72 (const std::string &s)
 将字符串填充到恰好 72 个字符 更多...
 
std::string vde::foundation::format_iges_line (const std::string &data, char section_char, int seq)
 格式化 IGES 段落行 更多...