Define a curved edge that is parameterised for 0<lambda<1 between the start and end point. More...


Classes | |
| class | iNew |
| Class used for the read-construction of. More... | |
Public Member Functions | |
| TypeName ("blockEdge") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, blockEdge, Istream,(const dictionary &dict, const label index, const searchableSurfaceList &geometry, const pointField &points, Istream &is),(dict, index, geometry, points, is)) | |
| blockEdge (const pointField &points, const label start, const label end) | |
| Construct from components. More... | |
| blockEdge (const dictionary &dict, const label index, const pointField &, Istream &) | |
| Construct from Istream setting pointsList. More... | |
| virtual autoPtr< blockEdge > | clone () const |
| Clone function. More... | |
| virtual | ~blockEdge () |
| Destructor. More... | |
| label | start () const |
| Return label of start point. More... | |
| label | end () const |
| Return label of end point. More... | |
| int | compare (const blockEdge &) const |
| Compare the given start and end points with this curve. More... | |
| int | compare (const edge &) const |
| Compare the given start and end points with this curve. More... | |
| int | compare (const label start, const label end) const |
| Compare the given start and end points with this curve. More... | |
| virtual point | position (const scalar) const =0 |
| Return the point position corresponding to the curve parameter. More... | |
| virtual tmp< pointField > | position (const scalarList &) const |
| Return the point positions corresponding to the curve parameters. More... | |
| virtual scalar | length () const =0 |
| Return the length of the curve. More... | |
| void | write (Ostream &, const dictionary &) const |
| Write edge with variable backsubstitution. More... | |
Static Public Member Functions | |
| static autoPtr< blockEdge > | New (const dictionary &dict, const label index, const searchableSurfaceList &geometry, const pointField &, Istream &) |
| New function which constructs and returns pointer to a blockEdge. More... | |
Static Protected Member Functions | |
| static pointField | appendEndPoints (const pointField &, const label start, const label end, const pointField &otherKnots) |
| Return a complete point field by appending the start/end points. More... | |
Protected Attributes | |
| const pointField & | points_ |
| const label | start_ |
| const label | end_ |
Friends | |
| Ostream & | operator<< (Ostream &, const blockEdge &) |
Define a curved edge that is parameterised for 0<lambda<1 between the start and end point.
Definition at line 56 of file blockEdge.H.
| blockEdge | ( | const pointField & | points, |
| const label | start, | ||
| const label | end | ||
| ) |
Construct from components.
Definition at line 40 of file blockEdge.C.
| blockEdge | ( | const dictionary & | dict, |
| const label | index, | ||
| const pointField & | points, | ||
| Istream & | is | ||
| ) |
Construct from Istream setting pointsList.
Definition at line 53 of file blockEdge.C.
|
inlinevirtual |
Destructor.
Definition at line 168 of file blockEdge.H.
|
staticprotected |
Return a complete point field by appending the start/end points.
to the given list
Definition at line 109 of file blockEdge.C.
References forAll, points, and List< T >::size().

| TypeName | ( | "blockEdge" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| blockEdge | , | ||
| Istream | , | ||
| (const dictionary &dict, const label index, const searchableSurfaceList &geometry, const pointField &points, Istream &is) | , | ||
| (dict, index, geometry, points, is) | |||
| ) |
|
virtual |
|
static |
New function which constructs and returns pointer to a blockEdge.
Definition at line 74 of file blockEdge.C.
References Foam::abort(), dict, Foam::endl(), Foam::FatalError, FatalErrorInFunction, InfoInFunction, Foam::nl, and points.
Referenced by blockEdge::iNew::operator()().


|
inline |
Return label of start point.
Definition at line 28 of file blockEdgeI.H.
References blockEdge::start_.
|
inline |
Return label of end point.
Definition at line 34 of file blockEdgeI.H.
|
inline |
Compare the given start and end points with this curve.
Return:
Definition at line 57 of file blockEdgeI.H.
References Foam::e.
Referenced by blockEdge::compare().

|
inline |
Compare the given start and end points with this curve.
Return:
Definition at line 63 of file blockEdgeI.H.
References blockEdge::compare(), and Foam::e.

Compare the given start and end points with this curve.
Return:
Definition at line 40 of file blockEdgeI.H.
|
pure virtual |
Return the point position corresponding to the curve parameter.
0 <= lambda <= 1
Implemented in splineEdge, projectEdge, projectCurveEdge, lineEdge, BSplineEdge, arcEdge, and polyLineEdge.
Referenced by lineDivide::lineDivide().

|
virtual |
Return the point positions corresponding to the curve parameters.
0 <= lambda <= 1
Reimplemented in projectEdge, and projectCurveEdge.
Definition at line 134 of file blockEdge.C.
References forAll, points, Foam::tracking::position(), tmp< T >::ref(), and List< T >::size().

|
pure virtual |
Return the length of the curve.
Implemented in splineEdge, projectEdge, projectCurveEdge, polyLineEdge, lineEdge, BSplineEdge, and arcEdge.
| void write | ( | Ostream & | os, |
| const dictionary & | d | ||
| ) | const |
Write edge with variable backsubstitution.
Definition at line 147 of file blockEdge.C.
References Foam::endl(), Foam::tab, and blockVertex::write().

|
protected |
Definition at line 62 of file blockEdge.H.
|
protected |
Definition at line 64 of file blockEdge.H.
Referenced by blockEdge::start().
|
protected |
Definition at line 65 of file blockEdge.H.