Flow123d  release_2.2.0-914-gf1a3a4f
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
ngh::TTriangle Class Reference

#include <triangle.h>

Collaboration diagram for ngh::TTriangle:
Collaboration graph
[legend]

Public Member Functions

 TTriangle ()
 
 TTriangle (const TTriangle &)
 
 TTriangle (const TPoint &, const TPoint &, const TPoint &)
 
 TTriangle (const Element &)
 
void update ()
 
 ~TTriangle ()
 
TTriangleoperator= (const TTriangle &t)
 
const TPlainGetPlain () const
 
const TAbscissaGetAbscissa (int) const
 
const TPointGetPoint (int) const
 
void SetPoints (const TPoint &, const TPoint &, const TPoint &)
 
double GetMin (int) const
 
double GetMax (int) const
 
double GetArea ()
 
BoundingBoxget_bounding_box ()
 
bool IsInner (const TPoint &) const
 

Static Public Member Functions

static int getNumInstances ()
 

Private Member Functions

int generateId ()
 
void ComputeArea ()
 

Private Attributes

int id
 
TPoint X1
 
TPoint X2
 
TPoint X3
 
TAbscissaA1
 
TAbscissaA2
 
TAbscissaA3
 
TPlainpl
 
BoundingBox boundingBox
 
double area
 

Static Private Attributes

static int numberInstance = 0
 

Detailed Description

Definition at line 31 of file triangle.h.

Constructor & Destructor Documentation

ngh::TTriangle::TTriangle ( )

Definition at line 30 of file triangle.cpp.

ngh::TTriangle::TTriangle ( const TTriangle T)

Definition at line 42 of file triangle.cpp.

ngh::TTriangle::TTriangle ( const TPoint P1,
const TPoint P2,
const TPoint P3 
)

Definition at line 52 of file triangle.cpp.

ngh::TTriangle::TTriangle ( const Element ele)

Definition at line 63 of file triangle.cpp.

ngh::TTriangle::~TTriangle ( )

Definition at line 83 of file triangle.cpp.

Member Function Documentation

void ngh::TTriangle::ComputeArea ( )
private

Definition at line 143 of file triangle.cpp.

Here is the caller graph for this function:

int ngh::TTriangle::generateId ( )
private

Definition at line 26 of file triangle.cpp.

Here is the caller graph for this function:

BoundingBox & ngh::TTriangle::get_bounding_box ( )

Definition at line 152 of file triangle.cpp.

const TAbscissa & ngh::TTriangle::GetAbscissa ( int  i) const

Definition at line 103 of file triangle.cpp.

Here is the caller graph for this function:

double ngh::TTriangle::GetArea ( )

Definition at line 148 of file triangle.cpp.

Here is the caller graph for this function:

double ngh::TTriangle::GetMax ( int  i) const

Definition at line 178 of file triangle.cpp.

Here is the caller graph for this function:

double ngh::TTriangle::GetMin ( int  i) const

Definition at line 165 of file triangle.cpp.

Here is the caller graph for this function:

static int ngh::TTriangle::getNumInstances ( )
inlinestatic

Definition at line 79 of file triangle.h.

const TPlain & ngh::TTriangle::GetPlain ( ) const

Definition at line 99 of file triangle.cpp.

Here is the caller graph for this function:

const TPoint & ngh::TTriangle::GetPoint ( int  i) const

Definition at line 117 of file triangle.cpp.

Here is the caller graph for this function:

bool ngh::TTriangle::IsInner ( const TPoint P) const

Definition at line 205 of file triangle.cpp.

Here is the caller graph for this function:

TTriangle & ngh::TTriangle::operator= ( const TTriangle t)

Definition at line 191 of file triangle.cpp.

void ngh::TTriangle::SetPoints ( const TPoint P1,
const TPoint P2,
const TPoint P3 
)

Definition at line 129 of file triangle.cpp.

Here is the caller graph for this function:

void ngh::TTriangle::update ( )

Definition at line 73 of file triangle.cpp.

Here is the caller graph for this function:

Member Data Documentation

TAbscissa* ngh::TTriangle::A1
private

Definition at line 40 of file triangle.h.

TAbscissa* ngh::TTriangle::A2
private

Definition at line 41 of file triangle.h.

TAbscissa* ngh::TTriangle::A3
private

Definition at line 42 of file triangle.h.

double ngh::TTriangle::area
private

Definition at line 48 of file triangle.h.

BoundingBox ngh::TTriangle::boundingBox
private

Definition at line 46 of file triangle.h.

int ngh::TTriangle::id
private

Definition at line 34 of file triangle.h.

int ngh::TTriangle::numberInstance = 0
staticprivate

Definition at line 33 of file triangle.h.

TPlain* ngh::TTriangle::pl
private

Definition at line 44 of file triangle.h.

TPoint ngh::TTriangle::X1
private

Definition at line 36 of file triangle.h.

TPoint ngh::TTriangle::X2
private

Definition at line 37 of file triangle.h.

TPoint ngh::TTriangle::X3
private

Definition at line 38 of file triangle.h.


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