34 unsigned int nVert = number_of_vertices();
36 return insertPoint(
toPoint(p), nVert, type);
47 return insertPoint(
toPoint(p), index, type);
58 unsigned int nVert = number_of_vertices();
60 Vertex_handle vh =
insert(p);
62 if (nVert == number_of_vertices())
77 inline bool Foam::CV2D::insertMirrorPoint
83 point2D mirrorPoint(2*surfPt - nearSurfPt);
97 inline void Foam::CV2D::insertPointPair
106 label master = insertPoint
109 number_of_vertices() + 1
112 insertPoint(surfPt + ppDistn, master);
126 return reinterpret_cast<const point2D&
>(
p);
135 temp[pointi] =
point2D(p[pointi].
x(), p[pointi].
y());
143 return point(p.
x(), p.
y(), z_);
164 return point2D(CGAL::to_double(P.x()), CGAL::to_double(P.y()));
170 return Point(p.
x(), p.
y());
178 return point(CGAL::to_double(P.x()), CGAL::to_double(P.y()), z_);
189 Vertex_handle newVh =
insert(P);
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t 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.
void size(const label)
Override size to be inconsistent with allocated storage.
Vector2D< scalar > vector2D
vector2D obtained from generic Vector2D
Ostream & endl(Ostream &os)
Add newline and flush stream.
point toPoint3D(const point2D &) const
bool outsideTriangle(const CV2D::Face_handle fc)
const cv2DControls & meshControls() const
void insert(const scalar, DynamicList< floatScalar > &)
Append scalar to given DynamicList.
const point2D & toPoint2D(const point &) const
PointFromPoint2D toPoint(const point2D &) const
Pre-declare SubField and related Field type.
Controls for the 2D CV mesh generator.
#define WarningInFunction
Report a warning using Foam::Warning.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
void movePoint(const Vertex_handle &vh, const Point &P)
bool boundaryTriangle(const CV2D::Face_handle fc)
const Point & PointFromPoint2D