UI: Display the circumference of a circle in the property browser

Closes #1211
pull/1218/head
ruevs 2022-02-09 10:27:54 +02:00
parent d8b5281fc9
commit 2383a39636
1 changed files with 4 additions and 3 deletions

View File

@ -171,6 +171,7 @@ void TextWindow::DescribeSelection() {
double r = e->CircleGetRadiusNum();
Printf(true, " diameter = %Fi%s", SS.MmToString(r*2).c_str());
Printf(false, " radius = %Fi%s", SS.MmToString(r).c_str());
Printf(false, " circumference = %Fi%s", SS.MmToString(2*M_PI*r).c_str());
break;
}
case Entity::Type::FACE_NORMAL_PT: