Update volume boxRegionPoints.cpp
This commit is contained in:
parent
51c6f925d8
commit
0e4a041ffb
|
@ -13,7 +13,12 @@ boxRegionPoints::boxRegionPoints
|
||||||
:
|
:
|
||||||
regionPoints(dict, fieldsDataBase),
|
regionPoints(dict, fieldsDataBase),
|
||||||
boxRegion_(dict.subDict("boxInfo")),
|
boxRegion_(dict.subDict("boxInfo")),
|
||||||
volume_((boxRegion_.maxPoint().x() - boxRegion_.minPoint().x()) * (boxRegion_.maxPoint().y() - boxRegion_.minPoint().y()) * (boxRegion_.maxPoint().z() - boxRegion_.minPoint().z())),
|
volume_
|
||||||
|
(
|
||||||
|
(boxRegion_.maxPoint().x() - boxRegion_.minPoint().x()) *
|
||||||
|
(boxRegion_.maxPoint().y() - boxRegion_.minPoint().y()) *
|
||||||
|
(boxRegion_.maxPoint().z() - boxRegion_.minPoint().z())
|
||||||
|
),
|
||||||
diameter_(pow(3 * volume_ / 4.0 / Pi, 1.0 / 3.0)),
|
diameter_(pow(3 * volume_ / 4.0 / Pi, 1.0 / 3.0)),
|
||||||
selectedPoints_("selectedPoints")
|
selectedPoints_("selectedPoints")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue