31inline Foam::label Foam::CV2D::insertPoint
37 unsigned int nVert = number_of_vertices();
43inline Foam::label Foam::CV2D::insertPoint
54inline Foam::label Foam::CV2D::insertPoint
61 unsigned int nVert = number_of_vertices();
65 if (nVert == number_of_vertices())
68 <<
"Failed to insert point " << toPoint2D(
p) <<
endl;
80inline bool Foam::CV2D::insertMirrorPoint
86 point2D mirrorPoint(2*surfPt - nearSurfPt);
88 if (qSurf_.outside(toPoint3D(mirrorPoint)))
98inline void Foam::CV2D::insertPointPair
107 label master = insertPoint
110 number_of_vertices() + 1
113 insertPoint(surfPt + ppDistn, master);
127 return reinterpret_cast<const point2D&
>(
p);
136 temp[pointi] =
point2D(
p[pointi].
x(),
p[pointi].
y());
152 return reinterpret_cast<point2DFromPoint
>(P);
165 return point2D(CGAL::to_double(P.x()), CGAL::to_double(P.y()));
179 return Foam::point(CGAL::to_double(P.x()), CGAL::to_double(P.y()), z_);
190 Vertex_handle newVh =
insert(P);
const Point & PointFromPoint2D
void movePoint(const Vertex_handle &vh, const Point &P)
const cv2DControls & meshControls() const
const point2D & point2DFromPoint
PointFromPoint2D toPoint(const point2D &) const
Foam::point toPoint3D(const point2D &) const
const point2D & toPoint2D(const Foam::point &) const
Controls for the 2D CV mesh generator.
#define WarningInFunction
Report a warning using Foam::Warning.
vector2DField point2DField
point2DField is a vector2DField.
vector2D point2D
Point2D is a vector.
PointFrompoint toPoint(const Foam::point &p)
Vector2D< scalar > vector2D
A 2D vector of scalars obtained from the generic Vector2D.
bool boundaryTriangle(const CV2D::Face_handle fc)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool outsideTriangle(const CV2D::Face_handle fc)
vector point
Point is a vector.
vectorField pointField
pointField is a vectorField.
nonInt insert("surfaceSum(((S|magSf)*S)")
#define forAll(list, i)
Loop across all elements in list.