Flow123d  release_1.8.2-1603-g0109a2b
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 ()
 
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 27 of file triangle.h.

Constructor & Destructor Documentation

TTriangle::TTriangle ( )

Definition at line 29 of file triangle.cpp.

TTriangle::TTriangle ( const TTriangle T)

Definition at line 41 of file triangle.cpp.

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

Definition at line 51 of file triangle.cpp.

TTriangle::TTriangle ( const Element ele)

Definition at line 62 of file triangle.cpp.

TTriangle::~TTriangle ( )

Definition at line 82 of file triangle.cpp.

Member Function Documentation

void TTriangle::ComputeArea ( )
private

Definition at line 142 of file triangle.cpp.

Here is the caller graph for this function:

int TTriangle::generateId ( )
private

Definition at line 25 of file triangle.cpp.

Here is the caller graph for this function:

BoundingBox & TTriangle::get_bounding_box ( )

Definition at line 151 of file triangle.cpp.

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

Definition at line 102 of file triangle.cpp.

Here is the caller graph for this function:

double TTriangle::GetArea ( )

Definition at line 147 of file triangle.cpp.

Here is the caller graph for this function:

double TTriangle::GetMax ( int  i) const

Definition at line 177 of file triangle.cpp.

Here is the caller graph for this function:

double TTriangle::GetMin ( int  i) const

Definition at line 164 of file triangle.cpp.

Here is the caller graph for this function:

static int TTriangle::getNumInstances ( )
inlinestatic

Definition at line 75 of file triangle.h.

const TPlain & TTriangle::GetPlain ( ) const

Definition at line 98 of file triangle.cpp.

Here is the caller graph for this function:

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

Definition at line 116 of file triangle.cpp.

Here is the caller graph for this function:

bool TTriangle::IsInner ( const TPoint P) const

Definition at line 204 of file triangle.cpp.

Here is the caller graph for this function:

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

Definition at line 190 of file triangle.cpp.

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

Definition at line 128 of file triangle.cpp.

Here is the caller graph for this function:

void TTriangle::update ( )

Definition at line 72 of file triangle.cpp.

Here is the caller graph for this function:

Member Data Documentation

TAbscissa* TTriangle::A1
private

Definition at line 36 of file triangle.h.

TAbscissa* TTriangle::A2
private

Definition at line 37 of file triangle.h.

TAbscissa* TTriangle::A3
private

Definition at line 38 of file triangle.h.

double TTriangle::area
private

Definition at line 44 of file triangle.h.

BoundingBox TTriangle::boundingBox
private

Definition at line 42 of file triangle.h.

int TTriangle::id
private

Definition at line 30 of file triangle.h.

int TTriangle::numberInstance = 0
staticprivate

Definition at line 29 of file triangle.h.

TPlain* TTriangle::pl
private

Definition at line 40 of file triangle.h.

TPoint TTriangle::X1
private

Definition at line 32 of file triangle.h.

TPoint TTriangle::X2
private

Definition at line 33 of file triangle.h.

TPoint TTriangle::X3
private

Definition at line 34 of file triangle.h.


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