A straight edge between the start point and the end point. More...
Public Member Functions | |
TypeName ("line") | |
lineEdge (const pointField &points, const edge &fromTo) | |
lineEdge (const pointField &points, const label from, const label to) | |
lineEdge (const dictionary &dict, const label index, const searchableSurfaces &, const pointField &points, Istream &is) | |
virtual | ~lineEdge ()=default |
point | position (const scalar) const |
scalar | length () const |
![]() | |
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 tmp< pointField > | position (const scalarList &lambdas) const |
void | write (Ostream &os, const dictionary &dict) const |
Additional Inherited Members | |
![]() | |
static autoPtr< blockEdge > | New (const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is) |
![]() | |
blockEdge (const pointField &points, const label from, const label to) | |
![]() | |
static pointField | appendEndPoints (const pointField &p, const label from, const label to, const pointField &intermediate) |
![]() | |
const pointField & | points_ |
const label | start_ |
const label | end_ |
A straight edge between the start point and the end point.
Definition at line 49 of file lineEdge.H.
lineEdge | ( | const pointField & | points, |
const edge & | fromTo | ||
) |
points | Referenced point field |
fromTo | Start/end in point field |
Definition at line 40 of file lineEdge.C.
lineEdge | ( | const pointField & | points, |
const label | from, | ||
const label | to | ||
) |
points | Referenced point field |
from | Start point in point field |
to | End point in point field |
Definition at line 50 of file lineEdge.C.
lineEdge | ( | const dictionary & | dict, |
const label | index, | ||
const searchableSurfaces & | , | ||
const pointField & | points, | ||
Istream & | is | ||
) |
points | Referenced point field |
Definition at line 61 of file lineEdge.C.
|
virtualdefault |
TypeName | ( | "line" | ) |
|
virtual |
Implements blockEdge.
Definition at line 75 of file lineEdge.C.
References lambda(), and blockEdge::linearPosition().
|
virtual |
Implements blockEdge.
Definition at line 81 of file lineEdge.C.
References Foam::mag().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.