ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
FaceCartesian.h
Go to the documentation of this file.
1//
2// ,---. ,--, .---. ,--, ,---. .-. .-.
3// | .-' .' .') / .-. ) .' .' | .-' | \| |
4// | `-. | |(_) | | |(_) | | __ | `-. | | |
5// | .-' \ \ | | | | \ \ ( _) | .-' | |\ |
6// | `--. \ `-. \ `-' / \ `-) ) | `--. | | |)|
7// /( __.' \____\ )---' )\____/ /( __.' /( (_)
8// (__) (_) (__) (__) (__)
9// Official webSite: https://code-mphi.github.io/ECOGEN/
10//
11// This file is part of ECOGEN.
12//
13// ECOGEN is the legal property of its developers, whose names
14// are listed in the copyright file included with this source
15// distribution.
16//
17// ECOGEN is free software: you can redistribute it and/or modify
18// it under the terms of the GNU General Public License as published
19// by the Free Software Foundation, either version 3 of the License,
20// or (at your option) any later version.
21//
22// ECOGEN is distributed in the hope that it will be useful,
23// but WITHOUT ANY WARRANTY; without even the implied warranty of
24// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25// GNU General Public License for more details.
26//
27// You should have received a copy of the GNU General Public License
28// along with ECOGEN (file LICENSE).
29// If not, see <http://www.gnu.org/licenses/>.
30
31#ifndef FACECARTESIAN_H
32#define FACECARTESIAN_H
33
34#include "Face.h"
35class FaceCartesian : public Face
36{
37 public:
39 ~FaceCartesian() override;
40
41 void setSurface(const double& surface) override;
42 void initializeOthers(const double& surface, const Coord& normal, const Coord& tangent, const Coord& binormal) override;
43 void setPos(const double& X, const double& Y, const double& Z) override;
44 void setNormal(const double& X, const double& Y, const double& Z) override;
45 void setTangent(const double& X, const double& Y, const double& Z) override;
46 void setBinormal(const double& X, const double& Y, const double& Z) override;
47 void setSize(const double& sizeX, const double& sizeY, const double& sizeZ) override;
48 void setSize(const Coord& size) override;
49
50 const double& getSizeX() override { return m_size.getX(); };
51 const double& getSizeY() override { return m_size.getY(); };
52 const double& getSizeZ() override { return m_size.getZ(); };
53 const Coord& getSize() override { return m_size; };
54
55 //Pour methode AMR
56 Face* creerNouvelleFace() override;
57
58 protected:
60};
61
62#endif // FACECARTESIAN_H
@ Y
Definition Tools.h:51
@ X
Definition Tools.h:50
@ Z
Definition Tools.h:52
Class for a coordinate system object such as coordinates of the vertex or a vector.
Definition Coord.h:43
FaceCartesian()
Definition FaceCartesian.cpp:35
const double & getSizeY() override
Definition FaceCartesian.h:51
void initializeOthers(const double &surface, const Coord &normal, const Coord &tangent, const Coord &binormal) override
Definition FaceCartesian.cpp:47
Face * creerNouvelleFace() override
Definition FaceCartesian.cpp:83
const double & getSizeX() override
Definition FaceCartesian.h:50
const double & getSizeZ() override
Definition FaceCartesian.h:52
void setSize(const double &sizeX, const double &sizeY, const double &sizeZ) override
Definition FaceCartesian.cpp:73
~FaceCartesian() override
Definition FaceCartesian.cpp:39
void setTangent(const double &X, const double &Y, const double &Z) override
Definition FaceCartesian.cpp:65
void setSurface(const double &surface) override
Definition FaceCartesian.cpp:43
const Coord & getSize() override
Definition FaceCartesian.h:53
void setBinormal(const double &X, const double &Y, const double &Z) override
Definition FaceCartesian.cpp:69
Coord m_size
dimensions of Cartesian face
Definition FaceCartesian.h:59
void setPos(const double &X, const double &Y, const double &Z) override
Definition FaceCartesian.cpp:57
void setNormal(const double &X, const double &Y, const double &Z) override
Definition FaceCartesian.cpp:61
Definition Face.h:42
Face()
Definition Face.cpp:35