Flow123d  jenkins-Flow123d-linux-release-multijob-282
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 10 of file triangle.h.

Constructor & Destructor Documentation

TTriangle::TTriangle ( )

Definition at line 12 of file triangle.cpp.

TTriangle::TTriangle ( const TTriangle T)

Definition at line 24 of file triangle.cpp.

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

Definition at line 34 of file triangle.cpp.

TTriangle::TTriangle ( const Element ele)

Definition at line 45 of file triangle.cpp.

TTriangle::~TTriangle ( )

Definition at line 65 of file triangle.cpp.

Member Function Documentation

void TTriangle::ComputeArea ( )
private

Definition at line 125 of file triangle.cpp.

Here is the caller graph for this function:

int TTriangle::generateId ( )
private

Definition at line 8 of file triangle.cpp.

Here is the caller graph for this function:

BoundingBox & TTriangle::get_bounding_box ( )

Definition at line 134 of file triangle.cpp.

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

Definition at line 85 of file triangle.cpp.

Here is the caller graph for this function:

double TTriangle::GetArea ( )

Definition at line 130 of file triangle.cpp.

Here is the caller graph for this function:

double TTriangle::GetMax ( int  i) const

Definition at line 160 of file triangle.cpp.

Here is the caller graph for this function:

double TTriangle::GetMin ( int  i) const

Definition at line 147 of file triangle.cpp.

Here is the caller graph for this function:

static int TTriangle::getNumInstances ( )
inlinestatic

Definition at line 58 of file triangle.h.

const TPlain & TTriangle::GetPlain ( ) const

Definition at line 81 of file triangle.cpp.

Here is the caller graph for this function:

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

Definition at line 99 of file triangle.cpp.

Here is the caller graph for this function:

bool TTriangle::IsInner ( const TPoint P) const

Definition at line 187 of file triangle.cpp.

Here is the caller graph for this function:

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

Definition at line 173 of file triangle.cpp.

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

Definition at line 111 of file triangle.cpp.

Here is the caller graph for this function:

void TTriangle::update ( )

Definition at line 55 of file triangle.cpp.

Here is the caller graph for this function:

Member Data Documentation

TAbscissa* TTriangle::A1
private

Definition at line 19 of file triangle.h.

TAbscissa* TTriangle::A2
private

Definition at line 20 of file triangle.h.

TAbscissa* TTriangle::A3
private

Definition at line 21 of file triangle.h.

double TTriangle::area
private

Definition at line 27 of file triangle.h.

BoundingBox TTriangle::boundingBox
private

Definition at line 25 of file triangle.h.

int TTriangle::id
private

Definition at line 13 of file triangle.h.

int TTriangle::numberInstance = 0
staticprivate

Definition at line 12 of file triangle.h.

TPlain* TTriangle::pl
private

Definition at line 23 of file triangle.h.

TPoint TTriangle::X1
private

Definition at line 15 of file triangle.h.

TPoint TTriangle::X2
private

Definition at line 16 of file triangle.h.

TPoint TTriangle::X3
private

Definition at line 17 of file triangle.h.


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