mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: minor consistency improvements for bounding box
- a valid() method (same as !empty() call) for consistency with other containers and data types - a centre() method (same as midpoint() method) for consistency with other OpenFOAM geometric entities
This commit is contained in:
@ -67,7 +67,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
pointField newPoints(mesh.points());
|
||||
|
||||
const point half = meshBb.midpoint();
|
||||
const point half = meshBb.centre();
|
||||
|
||||
forAll(newPoints, pointi)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user