OOFEM 3.0
Loading...
Searching...
No Matches
oofem::InsertTriangleBasedOnCircumcircle Class Reference

#include <octreelocalizertutil.h>

Inheritance diagram for oofem::InsertTriangleBasedOnCircumcircle:
Collaboration diagram for oofem::InsertTriangleBasedOnCircumcircle:

Public Member Functions

 InsertTriangleBasedOnCircumcircle (Domain *d)
 Constructor.
 ~InsertTriangleBasedOnCircumcircle ()
 Destructor.
bool evaluate (DelaunayTriangle *&DTptr, OctantRecT< DelaunayTriangle * > *cell) override
void registerInsertion (DelaunayTriangle *&TEptr, LocalInsertionData< DelaunayTriangle * >LIdata) override
 Stores LocalInsertionData on the member.
std ::list< LocalInsertionData< DelaunayTriangle * > > * giveInsertionList (DelaunayTriangle *&DTptr) override
 Returns list of LocalInsertionData stored on the member.

Protected Attributes

Domaindomain

Additional Inherited Members

Protected Types inherited from oofem::SL_Insertion_Functor< DelaunayTriangle * >
typedef std::list< DelaunayTriangle * >::iterator listIteratorType

Detailed Description

Functor for storing triangles in the octree according to theirs circumscribed circles

Author
David Krybus

Definition at line 113 of file octreelocalizertutil.h.

Constructor & Destructor Documentation

◆ InsertTriangleBasedOnCircumcircle()

oofem::InsertTriangleBasedOnCircumcircle::InsertTriangleBasedOnCircumcircle ( Domain * d)
inline

Constructor.

Definition at line 120 of file octreelocalizertutil.h.

References domain.

◆ ~InsertTriangleBasedOnCircumcircle()

oofem::InsertTriangleBasedOnCircumcircle::~InsertTriangleBasedOnCircumcircle ( )
inline

Destructor.

Definition at line 124 of file octreelocalizertutil.h.

Member Function Documentation

◆ evaluate()

bool oofem::InsertTriangleBasedOnCircumcircle::evaluate ( DelaunayTriangle *& DTptr,
OctantRecT< DelaunayTriangle * > * cell )
inlineoverridevirtual

Evaluates the position of a triangle

Parameters
DTptrDelaunay triangle
cellOctant cell to be tested
Returns
true if the cirumscribed circle of the circle lies inside or contains a part of the cell, false otherwise

Implements oofem::SL_Insertion_Functor< DelaunayTriangle * >.

Definition at line 132 of file octreelocalizertutil.h.

References oofem::FloatArray::at(), oofem::DelaunayTriangle::giveCircumRadius(), oofem::DelaunayTriangle::giveXCenterCoordinate(), oofem::DelaunayTriangle::giveYCenterCoordinate(), oofem::SphereOutsideCell, and oofem::OctantRecT< T >::testBoundingSphere().

◆ giveInsertionList()

std ::list< LocalInsertionData< DelaunayTriangle * > > * oofem::InsertTriangleBasedOnCircumcircle::giveInsertionList ( DelaunayTriangle *& member)
inlineoverridevirtual

◆ registerInsertion()

void oofem::InsertTriangleBasedOnCircumcircle::registerInsertion ( DelaunayTriangle *& member,
LocalInsertionData< DelaunayTriangle * > LIdata )
inlineoverridevirtual

Member Data Documentation

◆ domain

Domain* oofem::InsertTriangleBasedOnCircumcircle::domain
protected

Definition at line 116 of file octreelocalizertutil.h.

Referenced by InsertTriangleBasedOnCircumcircle().


The documentation for this class was generated from the following file:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011