diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.C b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.C index 8e4543a07d322c26192d6c8cdee964f18f410eb1..697f90eb98396be7aca9eef15cd300dd130be9f0 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.C +++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.C @@ -150,7 +150,7 @@ Foam::CV2D::CV2D ), z_ ( - point + Foam::point ( cvMeshDict.subDict("surfaceConformation").lookup("locationInMesh") ).z() @@ -260,7 +260,7 @@ void Foam::CV2D::insertGrid() { for (int j=0; j<nj; j++) { - point p(x0 + i*deltax, y0 + j*deltay, 0); + Foam::point p(x0 + i*deltax, y0 + j*deltay, 0); if (meshControls().randomiseInitialGrid()) { diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.H b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.H index c0e0e48987e7b1ababfa047e09d49e63454f67c6..5a8eda8a5c5622e9eec4d643519c89213b4767a4 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.H +++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.H @@ -347,9 +347,9 @@ public: // Conversion functions between point2D, point and Point - inline const point2D& toPoint2D(const point&) const; + inline const point2D& toPoint2D(const Foam::point&) const; inline const point2DField toPoint2D(const pointField&) const; - inline point toPoint3D(const point2D&) const; + inline Foam::point toPoint3D(const point2D&) const; #ifdef CGAL_INEXACT typedef const point2D& point2DFromPoint; @@ -361,7 +361,7 @@ public: inline point2DFromPoint toPoint2D(const Point&) const; inline PointFromPoint2D toPoint(const point2D&) const; - inline point toPoint3D(const Point&) const; + inline Foam::point toPoint3D(const Point&) const; // Point insertion diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2DI.H b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2DI.H index e2720cc5ed8f2d15796ed5f811c0fecb16e0a4ca..5f848212d5de766793f0b6d4bcf392b1587e1de6 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2DI.H +++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2DI.H @@ -121,7 +121,7 @@ inline const Foam::cv2DControls& Foam::CV2D::meshControls() const } -inline const Foam::point2D& Foam::CV2D::toPoint2D(const point& p) const +inline const Foam::point2D& Foam::CV2D::toPoint2D(const Foam::point& p) const { return reinterpret_cast<const point2D&>(p); } @@ -140,7 +140,7 @@ inline const Foam::point2DField Foam::CV2D::toPoint2D(const pointField& p) const inline Foam::point Foam::CV2D::toPoint3D(const point2D& p) const { - return point(p.x(), p.y(), z_); + return Foam::point(p.x(), p.y(), z_); } @@ -175,7 +175,7 @@ inline Foam::CV2D::PointFromPoint2D Foam::CV2D::toPoint(const point2D& p) const inline Foam::point Foam::CV2D::toPoint3D(const Point& P) const { - return point(CGAL::to_double(P.x()), CGAL::to_double(P.y()), z_); + return Foam::point(CGAL::to_double(P.x()), CGAL::to_double(P.y()), z_); } diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2DIO.C b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2DIO.C index d370880aeeef287f2808df9d85dd88a5522d99f6..b8e8518eb5fcb2f767a7270e99703ef71864b263 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2DIO.C +++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2DIO.C @@ -210,8 +210,8 @@ void Foam::CV2D::extractPatches || (vB->internalOrBoundaryPoint() && !vA->internalOrBoundaryPoint()) ) { - point ptA = toPoint3D(vA->point()); - point ptB = toPoint3D(vB->point()); + Foam::point ptA = toPoint3D(vA->point()); + Foam::point ptB = toPoint3D(vB->point()); label patchIndex = qSurf_.findPatch(ptA, ptB); diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertBoundaryConformPointPairs.C b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertBoundaryConformPointPairs.C index 0f69268500ecd73fd975bfbf533cba807f095633..3017c72a9e7a5f5ce40030d3ba9b0d22b1bd06ad 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertBoundaryConformPointPairs.C +++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertBoundaryConformPointPairs.C @@ -295,7 +295,7 @@ void Foam::CV2D::markNearBoundaryPoints() { if (vit->internalPoint()) { - point vert(toPoint3D(vit->point())); + Foam::point vert(toPoint3D(vit->point())); pointIndexHit pHit; label hitSurface = -1; diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertFeaturePoints.C b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertFeaturePoints.C index 1cf848eec4672b81b4ddffd70e868c53e394c2d3..c746d95dc62021238e97951f1c270d1699a547b5 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertFeaturePoints.C +++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertFeaturePoints.C @@ -109,8 +109,8 @@ void Foam::CV2D::insertFeaturePoints() { const edge& e = feMesh.edges()[edgeI]; - const point& ep0 = points[e.start()]; - const point& ep1 = points[e.end()]; + const Foam::point& ep0 = points[e.start()]; + const Foam::point& ep1 = points[e.end()]; const linePointRef line(ep0, ep1); diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertSurfaceNearestPointPairs.C b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertSurfaceNearestPointPairs.C index 7578920f824409d84e7f0a6d319cc3cd5dd5fb6f..6cec128d71d40f72619408adf1970410653fb06b 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertSurfaceNearestPointPairs.C +++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertSurfaceNearestPointPairs.C @@ -39,7 +39,7 @@ bool Foam::CV2D::dualCellSurfaceIntersection { if (!is_infinite(ec)) { - point e0 = toPoint3D(circumcenter(ec->first)); + Foam::point e0 = toPoint3D(circumcenter(ec->first)); // If edge end is outside bounding box then edge cuts boundary if (!qSurf_.globalBounds().contains(e0)) @@ -47,7 +47,8 @@ bool Foam::CV2D::dualCellSurfaceIntersection return true; } - point e1 = toPoint3D(circumcenter(ec->first->neighbor(ec->second))); + Foam::point e1 = + toPoint3D(circumcenter(ec->first->neighbor(ec->second))); // If other edge end is outside bounding box then edge cuts boundary if (!qSurf_.globalBounds().contains(e1))