*** *** *** *** CLASS ComponentGeometry 2D *** *** *** ***
#include <compgeom.h>
Public Member Functions | |
ComponentGeometry2D (Cell *o, double Z) | |
CONSTRUCTOR. More... | |
ComponentGeometry2D (const ComponentGeometry2D *src) | |
CONSTRUCTOR COPY. More... | |
virtual | ~ComponentGeometry2D () |
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 |
STATIC. More... | |
virtual int | give_number_of_vertices (void) const |
const VectoR * | give_normal (void) const |
virtual const LCS_pure * | give_lcs (void) |
![]() | |
ComponentGeometry (Cell *o, double Z) | |
CONSTRUCTOR. More... | |
ComponentGeometry (const ComponentGeometry *src) | |
CONSTRUCTOR COPY. More... | |
virtual | ~ComponentGeometry () |
DESTRUCTOR. More... | |
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 double | give_characteristic_size (void) const |
bool | is_point_in_sphere (const PoinT *point) const |
Protected Attributes | |
int | nv |
VectoR | normal |
![]() | |
Cell * | owner |
double | zero |
bool | initialized |
LCS_pure * | lcs |
double | circum |
double | lav |
*** *** *** *** CLASS ComponentGeometry 2D *** *** *** ***
Definition at line 138 of file compgeom.h.
midaspace::ComponentGeometry2D::ComponentGeometry2D | ( | Cell * | o, |
double | Z | ||
) |
CONSTRUCTOR.
*** *** *** *** CLASS ComponentGeometry 2D *** *** *** ***
CONSTRUCTOR
Definition at line 81 of file compgeom.cpp.
References midaspace::Cell::give_nno(), nv, and midaspace::ComponentGeometry::owner.
|
inline |
CONSTRUCTOR COPY.
Definition at line 148 of file compgeom.h.
References midaspace::VectoR::copy(), normal, and nv.
|
inlinevirtual |
DESTRUCTOR.
Definition at line 150 of file compgeom.h.
|
virtual |
Checks data consistency.
Reimplemented from midaspace::ComponentGeometry.
Definition at line 85 of file compgeom.cpp.
References midaspace::ComponentGeometry::checkConsistency(), errol, midaspace::Cell::give_nno(), nv, and midaspace::ComponentGeometry::owner.
|
inlinevirtual |
Returns classID - class identification.
Reimplemented from midaspace::ComponentGeometry.
Reimplemented in midaspace::ComponentGeometry2Dpolygon, midaspace::ComponentGeometry2Dquadrangle, and midaspace::ComponentGeometry2Dtriangle.
Definition at line 153 of file compgeom.h.
References midaspace::classComponentGeometry2D.
|
inlinevirtual |
|
virtual |
Reimplemented from midaspace::ComponentGeometry.
Definition at line 157 of file compgeom.cpp.
References midaspace::VectoR::beP2P(), midaspace::VectoR::beVectProduct(), midaspace::Cell::give_points(), midaspace::ComponentGeometry::lcs, midaspace::VectoR::normalize(), midaspace::ComponentGeometry::owner, midaspace::LCS_pure::set_n1(), midaspace::LCS_pure::set_n2(), and midaspace::LCS_pure::set_n3().
|
inline |
Definition at line 164 of file compgeom.h.
References midaspace::ComponentGeometry::initcheck(), and normal.
|
inlinevirtual |
|
virtual |
initiate/sets data
2D
check planarity if the plane is given by normal and point[0], then distance from plane to point[i] is: normal * (point[0] - point[i]) / |normal| [scal.prod. / length]
Reimplemented from midaspace::ComponentGeometry.
Definition at line 92 of file compgeom.cpp.
References _errorr3, _warningg2, midaspace::area3D_Polygon(), midaspace::VectoR::beVectProduct(), midaspace::ComponentGeometry::circum, midaspace::VectoR::copy(), errol, midaspace::Element::give_elemAttribs(), midaspace::ProblemSubject::give_ID(), midaspace::ElemAttribs::give_lcs_global(), midaspace::VectoR::give_length(), midaspace::Facedge::give_main_masterel_uniq(), midaspace::ProblemSubject::give_Pd(), midaspace::Problem::give_PDBO(), midaspace::Cell::give_points(), midaspace::LCS_beam::give_vector(), midaspace::Elem3D::giveScalProduct(), midaspace::ComponentGeometry::initialize(), midaspace::Elem3D::is_identical_to(), midaspace::ComponentGeometry::lav, normal, midaspace::VectoR::normalize(), nv, midaspace::ComponentGeometry::owner, midaspace::PDBO_MultipElem, midaspace::Elem3D::tms(), and midaspace::ComponentGeometry::zero.
|
protected |
Definition at line 142 of file compgeom.h.
Referenced by ComponentGeometry2D(), give_normal(), and initialize().
|
protected |
Definition at line 141 of file compgeom.h.
Referenced by checkConsistency(), ComponentGeometry2D(), give_number_of_vertices(), initialize(), and midaspace::ComponentGeometry2Dpolygon::set_nv().