*** *** *** *** CLASS ComponentGeometry *** *** *** ***
#include <compgeom.h>
Public Member Functions | |
ComponentGeometry (Cell *o, double Z) | |
CONSTRUCTOR. More... | |
ComponentGeometry (const ComponentGeometry *src) | |
CONSTRUCTOR COPY. More... | |
virtual | ~ComponentGeometry () |
DESTRUCTOR. More... | |
virtual classID | give_classid () const |
Returns classID - class identification. More... | |
virtual void | initialize (void) |
initiate/sets data More... | |
virtual void | checkConsistency (void) const |
Checks data consistency. More... | |
virtual int | give_dimension (void) const =0 |
STATIC. More... | |
virtual int | give_number_of_vertices (void) const =0 |
virtual CellGeometry | give_elemGeom (void) const =0 |
void | initcheck (void) const |
DYNAMIC. More... | |
void | set_owner (Cell *val) |
*** SET *** More... | |
const PoinT * | give_centercoords (void) const |
*** GET *** More... | |
double | give_circum (void) const |
double | give_lav (void) const |
double | give_GeomWeight1deg (void) const |
virtual const LCS_pure * | give_lcs (void) |
virtual double | give_characteristic_size (void) const |
bool | is_point_in_sphere (const PoinT *point) const |
Protected Attributes | |
Cell * | owner |
double | zero |
bool | initialized |
LCS_pure * | lcs |
double | circum |
double | lav |
Private Attributes | |
PoinT | centrcoord |
|
inline |
CONSTRUCTOR.
Definition at line 38 of file compgeom.h.
References initialized, lcs, owner, and zero.
|
inline |
CONSTRUCTOR COPY.
Definition at line 40 of file compgeom.h.
References initialized, owner, and zero.
|
inlinevirtual |
|
inlinevirtual |
Checks data consistency.
Reimplemented in midaspace::ComponentGeometry2D, and midaspace::ComponentGeometry1Dpoly.
Definition at line 50 of file compgeom.h.
Referenced by midaspace::ComponentGeometry1Dpoly::checkConsistency(), and midaspace::ComponentGeometry2D::checkConsistency().
|
inline |
*** GET ***
Definition at line 62 of file compgeom.h.
References centrcoord, and initcheck().
Referenced by midaspace::Cell::give_centercoords().
|
inlinevirtual |
Reimplemented in midaspace::ComponentGeometry2Dquadrangle, midaspace::ComponentGeometry2Dtriangle, midaspace::ComponentGeometry1Dpoly, and midaspace::ComponentGeometry1D.
Definition at line 68 of file compgeom.h.
References errol.
Referenced by midaspace::Cell::give_characteristic_size().
|
inline |
Definition at line 63 of file compgeom.h.
References circum, and initcheck().
Referenced by midaspace::Cell::give_circum().
|
inlinevirtual |
Returns classID - class identification.
Reimplemented in midaspace::ComponentGeometry3Dtetrahedron, midaspace::ComponentGeometry3Dhexahedron, midaspace::ComponentGeometry3D, midaspace::ComponentGeometry2Dpolygon, midaspace::ComponentGeometry2Dquadrangle, midaspace::ComponentGeometry2Dtriangle, midaspace::ComponentGeometry2D, midaspace::ComponentGeometry1Dpoly, and midaspace::ComponentGeometry1D.
Definition at line 45 of file compgeom.h.
References midaspace::classComponentGeometry.
Referenced by midaspace::Cell::Cell().
|
pure virtual |
STATIC.
Implemented in midaspace::ComponentGeometry3D, midaspace::ComponentGeometry2D, and midaspace::ComponentGeometry1D.
Referenced by midaspace::Cell::give_dimension().
|
pure virtual |
Implemented in midaspace::ComponentGeometry3Dtetrahedron, midaspace::ComponentGeometry3Dhexahedron, midaspace::ComponentGeometry2Dpolygon, midaspace::ComponentGeometry2Dquadrangle, midaspace::ComponentGeometry2Dtriangle, midaspace::ComponentGeometry1Dpoly, and midaspace::ComponentGeometry1D.
Referenced by midaspace::Cell::give_cellGeom(), and midaspace::Face::print_row().
|
inline |
Definition at line 65 of file compgeom.h.
References give_number_of_vertices(), initcheck(), and lav.
Referenced by midaspace::Cell::give_GeomWeight1deg().
|
inline |
Definition at line 64 of file compgeom.h.
References initcheck(), and lav.
Referenced by midaspace::Cell::give_lav(), midaspace::Triangle::give_volume(), and midaspace::Quadrangle::give_volume().
|
inlinevirtual |
Reimplemented in midaspace::ComponentGeometry2D.
Definition at line 66 of file compgeom.h.
References _errorr.
|
pure virtual |
|
inline |
DYNAMIC.
Definition at line 58 of file compgeom.h.
References initialized.
Referenced by give_centercoords(), midaspace::ComponentGeometry1D::give_characteristic_size(), midaspace::ComponentGeometry2Dtriangle::give_characteristic_size(), midaspace::ComponentGeometry2Dquadrangle::give_characteristic_size(), give_circum(), give_GeomWeight1deg(), give_lav(), midaspace::ComponentGeometry2D::give_normal(), and is_point_in_sphere().
|
virtual |
initiate/sets data
initiate element centrcoord and circum
Reimplemented in midaspace::ComponentGeometry3Dtetrahedron, midaspace::ComponentGeometry3Dhexahedron, midaspace::ComponentGeometry2D, midaspace::ComponentGeometry1Dpoly, and midaspace::ComponentGeometry1D.
Definition at line 13 of file compgeom.cpp.
References midaspace::Elem3D::add(), centrcoord, circum, midaspace::PoinT::copy(), midaspace::PoinT::dist2_to(), midaspace::Elem3D::dvd(), midaspace::Cell::give_points(), initialized, owner, and ZERO.
Referenced by midaspace::ComponentGeometry1D::initialize(), midaspace::ComponentGeometry1Dpoly::initialize(), midaspace::ComponentGeometry2D::initialize(), midaspace::ComponentGeometry3Dhexahedron::initialize(), and midaspace::ComponentGeometry3Dtetrahedron::initialize().
|
inline |
Definition at line 70 of file compgeom.h.
References centrcoord, circum, midaspace::PoinT::dist2_to(), and initcheck().
Referenced by midaspace::Cell::is_point_in_sphere().
|
inline |
*** SET ***
Definition at line 60 of file compgeom.h.
References owner.
Referenced by midaspace::Cell::Cell().
|
private |
Definition at line 30 of file compgeom.h.
Referenced by give_centercoords(), initialize(), and is_point_in_sphere().
|
protected |
Definition at line 33 of file compgeom.h.
Referenced by give_circum(), initialize(), midaspace::ComponentGeometry2D::initialize(), and is_point_in_sphere().
|
protected |
Definition at line 28 of file compgeom.h.
Referenced by ComponentGeometry(), initcheck(), and initialize().
|
protected |
Definition at line 34 of file compgeom.h.
Referenced by midaspace::ComponentGeometry1D::give_characteristic_size(), midaspace::ComponentGeometry2Dtriangle::give_characteristic_size(), midaspace::ComponentGeometry2Dquadrangle::give_characteristic_size(), give_GeomWeight1deg(), give_lav(), midaspace::ComponentGeometry1D::initialize(), midaspace::ComponentGeometry1Dpoly::initialize(), midaspace::ComponentGeometry2D::initialize(), midaspace::ComponentGeometry3Dhexahedron::initialize(), and midaspace::ComponentGeometry3Dtetrahedron::initialize().
|
protected |
Definition at line 32 of file compgeom.h.
Referenced by ComponentGeometry(), midaspace::ComponentGeometry2D::give_lcs(), and ~ComponentGeometry().
|
protected |
Definition at line 25 of file compgeom.h.
Referenced by midaspace::ComponentGeometry1Dpoly::checkConsistency(), midaspace::ComponentGeometry2D::checkConsistency(), ComponentGeometry(), midaspace::ComponentGeometry1Dpoly::ComponentGeometry1Dpoly(), midaspace::ComponentGeometry2D::ComponentGeometry2D(), midaspace::ComponentGeometry2D::give_lcs(), initialize(), midaspace::ComponentGeometry1D::initialize(), midaspace::ComponentGeometry1Dpoly::initialize(), midaspace::ComponentGeometry2D::initialize(), midaspace::ComponentGeometry3Dhexahedron::initialize(), midaspace::ComponentGeometry3Dtetrahedron::initialize(), midaspace::ComponentGeometry1Dpoly::reset_nv(), and set_owner().
|
protected |
Definition at line 26 of file compgeom.h.
Referenced by ComponentGeometry(), and midaspace::ComponentGeometry2D::initialize().