|
OOFEM 3.0
|
#include <octreelocalizertutil.h>
Public Member Functions | |
| ElementCircumCirclesContainingNode (FloatArray pos, Domain *d) | |
| ~ElementCircumCirclesContainingNode () | |
| bool | evaluate (DelaunayTriangle *&DTptr) override |
| void | giveStartingPosition (FloatArray &answer) override |
| void | giveResult (std ::list< DelaunayTriangle * > &answer) override |
| bool | isBBXStage1Defined (BoundingBox &BBXStage1) override |
| bool | isBBXStage2Defined (BoundingBox &BBXStage2) override |
Protected Attributes | |
| FloatArray | startingPosition |
| Domain * | domain |
| std ::list< DelaunayTriangle * > | result |
Functor for finding triangles whose circumscribed circles contains given node
Definition at line 255 of file octreelocalizertutil.h.
|
inline |
Constructor
| pos | Starting position of the search |
| d | Domain containing nodes the triangles are defined by |
Definition at line 268 of file octreelocalizertutil.h.
References domain, and startingPosition.
|
inline |
Definition at line 272 of file octreelocalizertutil.h.
|
inlineoverridevirtual |
Evaluates a triangle upon its circumscribed cricle.
| DTptr | Delaunay triangle. nodeNr Number of the node in the domain list |
Implements oofem::SL_Evaluation_Functor< DelaunayTriangle * >.
Definition at line 279 of file octreelocalizertutil.h.
References oofem::FloatArray::at(), oofem::distance(), oofem::DelaunayTriangle::giveCircumRadius(), oofem::DelaunayTriangle::giveXCenterCoordinate(), oofem::DelaunayTriangle::giveYCenterCoordinate(), result, and startingPosition.
|
inlineoverridevirtual |
Gives the triangles containing the node
| answer | List containing Delaunay triangles |
Implements oofem::SL_Evaluation_Functor< DelaunayTriangle * >.
Definition at line 308 of file octreelocalizertutil.h.
References result.
|
inlineoverridevirtual |
Gives the starting position of the search
| position | startingPosition |
Implements oofem::SL_Evaluation_Functor< DelaunayTriangle * >.
Definition at line 299 of file octreelocalizertutil.h.
References startingPosition.
|
inlineoverridevirtual |
Stage1 means, we are looking for objects in a distance given by some boundingBox (e.g. IPs around some given coordinates)
Implements oofem::SL_Evaluation_Functor< DelaunayTriangle * >.
Definition at line 314 of file octreelocalizertutil.h.
|
inlineoverridevirtual |
Stage2BBX is given by results of a prior search. e.g. We found a closest point to another point in an octant, BBX is defined by the distance from each other and the found closest point. Now we have to check surrounding octants whithin this bounding, which may contain points closer to starting point.
Implements oofem::SL_Evaluation_Functor< DelaunayTriangle * >.
Definition at line 315 of file octreelocalizertutil.h.
|
protected |
Definition at line 259 of file octreelocalizertutil.h.
Referenced by ElementCircumCirclesContainingNode().
|
protected |
Definition at line 260 of file octreelocalizertutil.h.
Referenced by evaluate(), and giveResult().
|
protected |
Definition at line 258 of file octreelocalizertutil.h.
Referenced by ElementCircumCirclesContainingNode(), evaluate(), and giveStartingPosition().