Flow123d  release_2.2.0-37-g336ee74
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
TTriangle Class Reference

#include <triangle.h>

Collaboration diagram for TTriangle:
Collaboration graph
[legend]

Public Member Functions

 TTriangle ()
 
 TTriangle (const TTriangle &)
 
 TTriangle (const TPoint &, const TPoint &, const TPoint &)
 
 TTriangle (const Element &)
 
void update ()
 
 ~TTriangle ()
 
TTriangle & operator= (const TTriangle &t)
 
const TPlain & GetPlain () const
 
const TAbscissa & GetAbscissa (int) const
 
const TPoint & GetPoint (int) const
 
void SetPoints (const TPoint &, const TPoint &, const TPoint &)
 
double GetMin (int) const
 
double GetMax (int) const
 
double GetArea ()
 
BoundingBox & get_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
 
TAbscissa * A1
 
TAbscissa * A2
 
TAbscissa * A3
 
TPlain * pl
 
BoundingBox boundingBox
 
double area
 

Static Private Attributes

static int numberInstance = 0
 

Detailed Description

Definition at line 30 of file triangle.h.

Constructor & Destructor Documentation

TTriangle::TTriangle ( )

Definition at line 30 of file triangle.cpp.

TTriangle::TTriangle ( const TTriangle &  T)

Definition at line 42 of file triangle.cpp.

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

Definition at line 52 of file triangle.cpp.

TTriangle::TTriangle ( const Element &  ele)

Definition at line 63 of file triangle.cpp.

TTriangle::~TTriangle ( )

Definition at line 83 of file triangle.cpp.

Member Function Documentation

void TTriangle::ComputeArea ( )
private

Definition at line 143 of file triangle.cpp.

Here is the caller graph for this function:

int TTriangle::generateId ( )
private

Definition at line 26 of file triangle.cpp.

Here is the caller graph for this function:

BoundingBox & TTriangle::get_bounding_box ( )

Definition at line 152 of file triangle.cpp.

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

Definition at line 103 of file triangle.cpp.

Here is the caller graph for this function:

double TTriangle::GetArea ( )

Definition at line 148 of file triangle.cpp.

Here is the caller graph for this function:

double TTriangle::GetMax ( int  i) const

Definition at line 178 of file triangle.cpp.

Here is the caller graph for this function:

double TTriangle::GetMin ( int  i) const

Definition at line 165 of file triangle.cpp.

Here is the caller graph for this function:

static int TTriangle::getNumInstances ( )
inlinestatic

Definition at line 78 of file triangle.h.

const TPlain & TTriangle::GetPlain ( ) const

Definition at line 99 of file triangle.cpp.

Here is the caller graph for this function:

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

Definition at line 117 of file triangle.cpp.

Here is the caller graph for this function:

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

Definition at line 205 of file triangle.cpp.

Here is the caller graph for this function:

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

Definition at line 191 of file triangle.cpp.

void 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 TTriangle::update ( )

Definition at line 73 of file triangle.cpp.

Here is the caller graph for this function:

Member Data Documentation

TAbscissa* TTriangle::A1
private

Definition at line 39 of file triangle.h.

TAbscissa* TTriangle::A2
private

Definition at line 40 of file triangle.h.

TAbscissa* TTriangle::A3
private

Definition at line 41 of file triangle.h.

double TTriangle::area
private

Definition at line 47 of file triangle.h.

BoundingBox TTriangle::boundingBox
private

Definition at line 45 of file triangle.h.

int TTriangle::id
private

Definition at line 33 of file triangle.h.

int TTriangle::numberInstance = 0
staticprivate

Definition at line 32 of file triangle.h.

TPlain* TTriangle::pl
private

Definition at line 43 of file triangle.h.

TPoint TTriangle::X1
private

Definition at line 35 of file triangle.h.

TPoint TTriangle::X2
private

Definition at line 36 of file triangle.h.

TPoint TTriangle::X3
private

Definition at line 37 of file triangle.h.


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