예제 #1
0
double SolveSpaceUI::ExprToMm(Expr *e) {
    return (e->Eval()) * MmPerUnit();
}
예제 #2
0
double SolveSpaceUI::StringToMm(const std::string &str) {
    return std::stod(str) * MmPerUnit();
}
예제 #3
0
double SolveSpace::StringToMm(const char *str) {
    return atof(str) * MmPerUnit();
}