UI: Display the circumference of a circle in the property browser
Closes #1211
This commit is contained in:
parent
d8b5281fc9
commit
2383a39636
@ -171,6 +171,7 @@ void TextWindow::DescribeSelection() {
|
|||||||
double r = e->CircleGetRadiusNum();
|
double r = e->CircleGetRadiusNum();
|
||||||
Printf(true, " diameter = %Fi%s", SS.MmToString(r*2).c_str());
|
Printf(true, " diameter = %Fi%s", SS.MmToString(r*2).c_str());
|
||||||
Printf(false, " radius = %Fi%s", SS.MmToString(r).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;
|
break;
|
||||||
}
|
}
|
||||||
case Entity::Type::FACE_NORMAL_PT:
|
case Entity::Type::FACE_NORMAL_PT:
|
||||||
|
Loading…
Reference in New Issue
Block a user