fix: format_utils rename fmt→format_fn, iges_import insert_or_assign
This commit is contained in:
@@ -35,8 +35,8 @@ inline std::string fmt_iges_real(double v) {
|
||||
|
||||
/// Format a Point3D as comma-separated reals
|
||||
inline std::string fmt_point(const core::Point3D& p, bool use_d = false) {
|
||||
auto fmt = use_d ? fmt_iges_real : fmt_double;
|
||||
return fmt(p.x()) + "," + fmt(p.y()) + "," + fmt(p.z());
|
||||
auto format_fn = use_d ? fmt_iges_real : fmt_double;
|
||||
return format_fn(p.x()) + "," + fmt(p.y()) + "," + fmt(p.z());
|
||||
}
|
||||
|
||||
/// Pad a string to exactly 72 characters with spaces
|
||||
|
||||
Reference in New Issue
Block a user