30 void Foam::CV2D::insertSurfaceNearPointPairs()
32 Info<<
"insertSurfaceNearPointPairs: ";
34 label nNearPoints = 0;
38 Triangulation::Finite_edges_iterator eit = finite_edges_begin();
39 eit != finite_edges_end();
43 Vertex_handle v0h = eit->first->vertex(cw(eit->second));
44 Vertex_handle v1h = eit->first->vertex(ccw(eit->second));
46 if (v0h->ppMaster() && v1h->ppMaster())
59 toPoint2D(circumcenter(eit->first->neighbor(eit->second)))
63 scalar edgeLen2 =
magSqr(e0 - e1);
68 label hitSurface = -1;
81 qSurf_.
geometry()[hitSurface].getNormal
83 List<pointIndexHit>(1, pHit),
98 eit = Finite_edges_iterator
100 finite_edges_end().base(),
110 Info<< nNearPoints <<
" point-pairs inserted" <<
endl;
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
vector2D point2D
Point2D is a vector.
Ostream & endl(Ostream &os)
Add newline and flush stream.
point toPoint3D(const point2D &) const
const cv2DControls & meshControls() const
PointIndexHit< point > pointIndexHit
const point2D & toPoint2D(const point &) const
const point2D & point2DFromPoint
dimensioned< scalar > magSqr(const dimensioned< Type > &)
Field< vector > vectorField
Specialisation of Field<T> for vector.