Flow123d
last_with_con_2.0.0-663-gd0e2296
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
flow123d
src
mesh
ngh
include
abscissa.h
Go to the documentation of this file.
1
/*!
2
*
3
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4
*
5
* This program is free software; you can redistribute it and/or modify it under
6
* the terms of the GNU General Public License version 3 as published by the
7
* Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
*
13
*
14
* @file abscissa.h
15
* @brief
16
*/
17
18
#ifndef abscissaH
19
#define abscissaH
20
21
#include "
bisector.h
"
22
#include "
point.h
"
23
#include "
mesh/bounding_box.hh
"
24
25
26
class
TAbscissa
:
public
TBisector
{
27
private
:
28
static
int
numberInstance
;
29
int
id
;
30
31
BoundingBox
boundingBox
;
32
33
double
length
;
34
35
int
generateId
();
36
void
ComputeLength
();
37
38
public
:
39
TAbscissa
();
40
TAbscissa
(
const
TPoint
&,
const
TPoint
&);
41
TAbscissa
(
const
Element
&);
42
~TAbscissa
();
43
44
TAbscissa
&
operator =
(
const
TAbscissa
&);
45
46
double
Length
();
47
BoundingBox
&
get_bounding_box
();
48
49
void
SetPoints
(
const
TPoint
&,
const
TPoint
&);
50
51
double
GetMin
(
int
)
const
;
52
double
GetMax
(
int
)
const
;
53
54
static
int
getNumInstances
() {
55
return
TAbscissa::numberInstance
;
56
}
57
};
58
59
#endif
TAbscissa::Length
double Length()
Definition:
abscissa.cpp:75
BoundingBox
Bounding box in 3d ambient space.
Definition:
bounding_box.hh:45
TAbscissa::id
int id
Definition:
abscissa.h:29
TAbscissa::boundingBox
BoundingBox boundingBox
Definition:
abscissa.h:31
TAbscissa::getNumInstances
static int getNumInstances()
Definition:
abscissa.h:54
TAbscissa::SetPoints
void SetPoints(const TPoint &, const TPoint &)
Definition:
abscissa.cpp:65
point.h
TAbscissa::GetMax
double GetMax(int) const
Definition:
abscissa.cpp:102
TAbscissa::numberInstance
static int numberInstance
Definition:
abscissa.h:28
TAbscissa::length
double length
Definition:
abscissa.h:33
TPoint
Definition:
point.h:27
TAbscissa::ComputeLength
void ComputeLength()
Definition:
abscissa.cpp:70
bisector.h
TAbscissa::get_bounding_box
BoundingBox & get_bounding_box()
Definition:
abscissa.cpp:79
Element
Definition:
elements.h:39
TBisector
Definition:
bisector.h:29
TAbscissa::generateId
int generateId()
Definition:
abscissa.cpp:25
TAbscissa::TAbscissa
TAbscissa()
Definition:
abscissa.cpp:29
TAbscissa::operator=
TAbscissa & operator=(const TAbscissa &)
Definition:
abscissa.cpp:52
TAbscissa::GetMin
double GetMin(int) const
Definition:
abscissa.cpp:93
bounding_box.hh
TAbscissa::~TAbscissa
~TAbscissa()
Definition:
abscissa.cpp:62
TAbscissa
Definition:
abscissa.h:26
Generated by
1.8.11