Flow123d  release_2.2.0-914-gf1a3a4f
Classes | Typedefs | Enumerations | Functions
ngh Namespace Reference

Classes

class  IntersectionLocal
 
class  IntersectionPoint
 
class  TAbscissa
 
class  TBisector
 
class  TMatrix
 
class  TMVector
 
class  TPlain
 
class  TPoint
 
class  TPolygon
 
class  TTetrahedron
 
class  TTriangle
 
class  TVector
 
class  TVertex
 

Typedefs

typedef enum ngh::Intersections TIntersectionType
 
typedef enum ngh::Positions TPosition
 

Enumerations

enum  Intersections {
  none, unknown, point, line,
  area
}
 
enum  Positions {
  skew, parallel, intersecting, same,
  belong
}
 
enum  TNSolutions {
  no_solution, one_solution, inf_solutions, badconditioned,
  singular
}
 

Functions

void GetIntersection (const TBisector &, const TBisector &, TPosition &, double &, double &)
 
void GetIntersection (const TAbscissa &, const TAbscissa &, TPosition &, double &, double &)
 
void GetIntersection (const TAbscissa &, const TAbscissa &, IntersectionLocal *&insec)
 
void GetIntersection (const TBisector &, const TAbscissa &, TPosition &, double &, double &)
 
void GetIntersection (const TBisector &, const TAbscissa &, IntersectionLocal *&insec)
 
void GetIntersection (const TAbscissa &, const TBisector &, TPosition &, double &, double &)
 
void GetIntersection (const TAbscissa &, const TBisector &, IntersectionLocal *&insec)
 
void GetIntersection (const TPlain &, const TPlain &, TPosition &, TBisector *)
 
void GetIntersection (const TPlain &, const TBisector &, TPosition &, TPoint *)
 
void GetIntersection (const TBisector &, const TPlain &, TPosition &, double &)
 
void GetIntersection (const TBisector &, const TPlain &, TPosition &, TPoint *)
 
void GetIntersection (const TTriangle &, const TTriangle &, TIntersectionType &, double &)
 
void GetIntersection (const TBisector &, const TTriangle &, IntersectionLocal *&insec)
 
void GetIntersection (const TAbscissa &, const TTriangle &, IntersectionLocal *&insec)
 
void GetIntersection (const TAbscissa &, const TTetrahedron &, TIntersectionType &, double &)
 
void GetIntersection (const TTriangle &, const TTetrahedron &, TIntersectionType &, double &)
 
template<class A , class B >
bool QuickIntersectionTest (const A &a, const B &b)
 
double Distance (const TBisector &, const TPoint &)
 
double Distance (const TPlain &, const TPoint &)
 
double Distance (const TPoint &, const TPoint &)
 
IntersectionPointinterpolate (const IntersectionPoint &A1, const IntersectionPoint &A2, double t)
 
TNSolutions Gauss (const TMatrix &, TMVector *, const TMVector &)
 
TVector Cross (const TVector &, const TVector &)
 
double Dot (const TVector &, const TVector &)
 
bool AreParallel (const TVector &, const TVector &)
 
bool ArePerpendicular (const TVector &, const TVector &)
 
void set_tetrahedron_from_element (TTetrahedron &te, Element *ele)
 
void set_triangle_from_element (TTriangle &tr, const Element *ele)
 
void set_abscissa_from_element (TAbscissa &ab, const Element *ele)
 
void set_point_from_element (TPoint &p, const Element *ele)
 
std::ostream & operator<< (std::ostream &stream, const TBisector &b)
 
void GetIntersection (const TPlain &P, const TBisector &B, TPosition &pos, double &t)
 
bool eps_double_equal (double a, double b)
 
std::ostream & operator<< (std::ostream &stream, const TMatrix &M)
 
std::ostream & operator<< (std::ostream &stream, const TMVector &V)
 
std::ostream & operator<< (std::ostream &stream, const TPoint &P)
 
std::ostream & operator<< (std::ostream &stream, const TPolygon &p)
 
TVector operator* (const TVector &U, double x)
 
TVector operator* (double x, const TVector &U)
 

Typedef Documentation

Enumeration Type Documentation

Enumerator
none 
unknown 
point 
line 
area 

Definition at line 31 of file intersection.h.

Enumerator
skew 
parallel 
intersecting 
same 
belong 

Definition at line 39 of file intersection.h.

Enumerator
no_solution 
one_solution 
inf_solutions 
badconditioned 
singular 

Definition at line 26 of file matrix.h.

Function Documentation

bool ngh::AreParallel ( const TVector U,
const TVector V 
)

Definition at line 232 of file vector.cpp.

Here is the caller graph for this function:

bool ngh::ArePerpendicular ( const TVector U,
const TVector V 
)

Definition at line 244 of file vector.cpp.

Here is the caller graph for this function:

TVector ngh::Cross ( const TVector U,
const TVector V 
)

Definition at line 182 of file vector.cpp.

Here is the caller graph for this function:

double ngh::Distance ( const TBisector B,
const TPoint P 
)

Definition at line 368 of file intersection.cpp.

Here is the caller graph for this function:

double ngh::Distance ( const TPlain P,
const TPoint X 
)

Definition at line 375 of file intersection.cpp.

double ngh::Distance ( const TPoint P1,
const TPoint P2 
)

Definition at line 382 of file intersection.cpp.

double ngh::Dot ( const TVector U,
const TVector V 
)

Definition at line 199 of file vector.cpp.

Here is the caller graph for this function:

bool ngh::eps_double_equal ( double  a,
double  b 
)

Definition at line 37 of file intersectionLocal.cpp.

Here is the caller graph for this function:

TNSolutions ngh::Gauss ( const TMatrix A,
TMVector X,
const TMVector B 
)

Definition at line 152 of file matrix.cpp.

Here is the caller graph for this function:

void ngh::GetIntersection ( const TBisector B1,
const TBisector B2,
TPosition pos,
double &  t1,
double &  t2 
)

Definition at line 34 of file intersection.cpp.

Here is the caller graph for this function:

void ngh::GetIntersection ( const TAbscissa A1,
const TAbscissa A2,
TPosition pos,
double &  t1,
double &  t2 
)

Definition at line 341 of file intersection.cpp.

void ngh::GetIntersection ( const TAbscissa A1,
const TAbscissa A2,
IntersectionLocal *&  insec 
)

Definition at line 145 of file intersection.cpp.

void ngh::GetIntersection ( const TBisector B,
const TAbscissa A,
TPosition pos,
double &  t2,
double &  t1 
)

Definition at line 362 of file intersection.cpp.

void ngh::GetIntersection ( const TBisector B,
const TAbscissa A,
IntersectionLocal *&  insec 
)

Definition at line 336 of file intersection.cpp.

void ngh::GetIntersection ( const TAbscissa A,
const TBisector B,
TPosition pos,
double &  t1,
double &  t2 
)

Definition at line 352 of file intersection.cpp.

void ngh::GetIntersection ( const TAbscissa A,
const TBisector B,
IntersectionLocal *&  insec 
)

Definition at line 274 of file intersection.cpp.

void ngh::GetIntersection ( const TPlain P1,
const TPlain P2,
TPosition pos,
TBisector B 
)

Definition at line 389 of file intersection.cpp.

void ngh::GetIntersection ( const TPlain P,
const TBisector B,
TPosition pos,
TPoint Pt 
)

Definition at line 501 of file intersection.cpp.

void ngh::GetIntersection ( const TBisector ,
const TPlain ,
TPosition ,
double &   
)
void ngh::GetIntersection ( const TBisector B,
const TPlain P,
TPosition pos,
TPoint Pt 
)

Definition at line 508 of file intersection.cpp.

void ngh::GetIntersection ( const TTriangle T1,
const TTriangle T2,
TIntersectionType it,
double &  value 
)

Definition at line 514 of file intersection.cpp.

void ngh::GetIntersection ( const TBisector B,
const TTriangle T,
IntersectionLocal *&  insec 
)

Definition at line 608 of file intersection.cpp.

void ngh::GetIntersection ( const TAbscissa A,
const TTriangle T,
IntersectionLocal *&  insec 
)

Definition at line 793 of file intersection.cpp.

void ngh::GetIntersection ( const TAbscissa A,
const TTetrahedron T,
TIntersectionType it,
double &  coef 
)

Definition at line 954 of file intersection.cpp.

void ngh::GetIntersection ( const TTriangle Tr,
const TTetrahedron Te,
TIntersectionType it,
double &  coef 
)

Definition at line 1041 of file intersection.cpp.

void ngh::GetIntersection ( const TPlain P,
const TBisector B,
TPosition pos,
double &  t 
)

Definition at line 464 of file intersection.cpp.

Here is the caller graph for this function:

IntersectionPoint * ngh::interpolate ( const IntersectionPoint A1,
const IntersectionPoint A2,
double  t 
)

Definition at line 47 of file intersectionLocal.cpp.

Here is the caller graph for this function:

TVector ngh::operator* ( const TVector U,
double  x 
)

Definition at line 139 of file vector.cpp.

TVector ngh::operator* ( double  x,
const TVector U 
)

Definition at line 145 of file vector.cpp.

std::ostream& ngh::operator<< ( std::ostream &  stream,
const TPolygon p 
)

Definition at line 55 of file polygon.cpp.

std::ostream& ngh::operator<< ( std::ostream &  stream,
const TMatrix M 
)

Definition at line 68 of file matrix.cpp.

std::ostream& ngh::operator<< ( std::ostream &  stream,
const TMVector V 
)

Definition at line 78 of file matrix.cpp.

std::ostream& ngh::operator<< ( std::ostream &  stream,
const TBisector b 
)

Definition at line 85 of file bisector.cpp.

std::ostream& ngh::operator<< ( std::ostream &  stream,
const TPoint P 
)

Definition at line 137 of file point.cpp.

template<class A , class B >
bool ngh::QuickIntersectionTest ( const A &  a,
const B &  b 
)

Definition at line 1117 of file intersection.cpp.

Here is the caller graph for this function:

void ngh::set_abscissa_from_element ( TAbscissa ab,
const Element ele 
)
inline

Create abscissa from element

Definition at line 54 of file ngh_interface.hh.

Here is the caller graph for this function:

void ngh::set_point_from_element ( TPoint p,
const Element ele 
)
inline

Create point from element

Definition at line 64 of file ngh_interface.hh.

Here is the caller graph for this function:

void ngh::set_tetrahedron_from_element ( TTetrahedron te,
Element ele 
)
inline

Create tetrahedron from element

Definition at line 31 of file ngh_interface.hh.

Here is the caller graph for this function:

void ngh::set_triangle_from_element ( TTriangle tr,
const Element ele 
)
inline

Create triangle from element

Definition at line 43 of file ngh_interface.hh.

Here is the caller graph for this function: