Defines the edge from the projection onto a surface (single surface) or intersection of two surfaces. More...
Public Member Functions | |
TypeName ("projectCurve") | |
projectCurveEdge (const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is) | |
virtual | ~projectCurveEdge ()=default |
virtual point | position (const scalar) const |
virtual tmp< pointField > | position (const scalarList &) const |
virtual 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 |
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_ |
Defines the edge from the projection onto a surface (single surface) or intersection of two surfaces.
Definition at line 54 of file projectCurveEdge.H.
projectCurveEdge | ( | const dictionary & | dict, |
const label | index, | ||
const searchableSurfaces & | geometry, | ||
const pointField & | points, | ||
Istream & | is | ||
) |
points | Referenced point field |
Definition at line 46 of file projectCurveEdge.C.
References Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, Foam::Info, and Foam::PtrListOps::names().
|
virtualdefault |
TypeName | ( | "projectCurve" | ) |
|
virtual |
Implements blockEdge.
Definition at line 83 of file projectCurveEdge.C.
References VectorSpace< Vector< scalar >, scalar, 3 >::max, and NotImplemented.
|
virtual |
Reimplemented from blockEdge.
Definition at line 91 of file projectCurveEdge.C.
References Foam::expressions::patchExpr::debug, Foam::constant::electromagnetic::e, Foam::endl(), searchableSurfacesQueries::findNearest(), forAll, Foam::Info, blockEdge::linearPosition(), Foam::mag(), Foam::magSqr(), Foam::name(), tmp::New(), points, Foam::Pout, autoPtr::reset(), s, Foam::sum(), linearInterpolationWeights::valueWeights(), and Foam::Zero.
|
virtual |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.