Define a curved edge that is parameterized for 0<lambda<1 between the start/end points. More...
Classes | |
class | iNew |
Public Member Functions | |
TypeName ("blockEdge") | |
declareRunTimeSelectionTable (autoPtr, blockEdge, Istream,(const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is),(dict, index, geometry, points, is)) | |
blockEdge (const pointField &points, const edge &fromTo) | |
blockEdge (const dictionary &dict, const label index, const pointField &points, Istream &is) | |
virtual autoPtr< blockEdge > | clone () const |
virtual | ~blockEdge ()=default |
bool | valid () const noexcept |
label | start () const noexcept |
label | end () const noexcept |
const point & | firstPoint () const |
const point & | lastPoint () const |
int | compare (const blockEdge &e) const |
int | compare (const edge &e) const |
int | compare (const label start, const label end) const |
point | linearPosition (const scalar lambda) const |
virtual point | position (const scalar lambda) const =0 |
virtual tmp< pointField > | position (const scalarList &lambdas) const |
virtual scalar | length () const =0 |
void | write (Ostream &os, const dictionary &dict) const |
Static Public Member Functions | |
static autoPtr< blockEdge > | New (const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is) |
Protected Member Functions | |
blockEdge (const pointField &points, const label from, const label to) | |
Static Protected Member Functions | |
static pointField | appendEndPoints (const pointField &p, const label from, const label to, const pointField &intermediate) |
Protected Attributes | |
const pointField & | points_ |
const label | start_ |
const label | end_ |
Friends | |
Ostream & | operator<< (Ostream &os, const blockEdge &e) |
Define a curved edge that is parameterized for 0<lambda<1 between the start/end points.
Definition at line 60 of file blockEdge.H.
|
inlineprotected |
points | Referenced point field |
from | Start point in point field |
to | End point in point field |
Definition at line 94 of file blockEdge.H.
blockEdge | ( | const pointField & | points, |
const edge & | fromTo | ||
) |
points | Referenced point field |
fromTo | Start/end in point field |
Definition at line 38 of file blockEdge.C.
blockEdge | ( | const dictionary & | dict, |
const label | index, | ||
const pointField & | points, | ||
Istream & | is | ||
) |
points | Referenced point field |
Definition at line 50 of file blockEdge.C.
|
virtualdefault |
|
staticprotected |
p | Referenced point field |
from | Start point in point field |
to | End point in point field |
intermediate | Intermediate points (knots) |
Definition at line 103 of file blockEdge.C.
References polyLine::concat(), and p.
TypeName | ( | "blockEdge" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
blockEdge | , | ||
Istream | , | ||
(const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is) | , | ||
(dict, index, geometry, points, is) | |||
) |
|
virtual |
Definition at line 63 of file blockEdge.C.
References NotImplemented.
|
static |
Definition at line 71 of file blockEdge.C.
References Foam::abort(), DebugInFunction, dict, Foam::endl(), Foam::FatalIOError, FatalIOErrorInLookup, and points.
Referenced by blockEdge::iNew::operator()().
|
inlinenoexcept |
Definition at line 24 of file blockEdgeI.H.
References blockEdge::end_, and blockEdge::start_.
|
inlinenoexcept |
Definition at line 30 of file blockEdgeI.H.
|
inlinenoexcept |
Definition at line 36 of file blockEdgeI.H.
|
inline |
Definition at line 42 of file blockEdgeI.H.
|
inline |
Definition at line 48 of file blockEdgeI.H.
|
inline |
Definition at line 69 of file blockEdgeI.H.
References Foam::constant::electromagnetic::e.
Referenced by blockEdge::compare().
|
inline |
Definition at line 75 of file blockEdgeI.H.
References blockEdge::compare(), and Foam::constant::electromagnetic::e.
|
inline |
Definition at line 54 of file blockEdgeI.H.
References stdFoam::end().
|
inline |
Definition at line 81 of file blockEdgeI.H.
References InfoInFunction, lambda(), and Foam::nl.
Referenced by lineEdge::position(), projectEdge::position(), and projectCurveEdge::position().
|
pure virtual |
Implemented in splineEdge, BSplineEdge, projectEdge, projectCurveEdge, lineEdge, arcEdge, bezier, and polyLineEdge.
Referenced by lineDivide::lineDivide().
|
virtual |
Reimplemented in projectEdge, and projectCurveEdge.
Definition at line 117 of file blockEdge.C.
References forAll, tmp::New(), and points.
|
pure virtual |
Implemented in arcEdge, bezier, splineEdge, projectEdge, BSplineEdge, polyLineEdge, projectCurveEdge, and lineEdge.
void write | ( | Ostream & | os, |
const dictionary & | dict | ||
) | const |
Definition at line 130 of file blockEdge.C.
References dict, Foam::endl(), os(), Foam::tab, and blockVertex::write().
|
protected |
Definition at line 67 of file blockEdge.H.
|
protected |
Definition at line 70 of file blockEdge.H.
Referenced by blockEdge::valid().
|
protected |
Definition at line 73 of file blockEdge.H.
Referenced by blockEdge::valid().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.