xc
TriangularPrism3d.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // xc utils library; general purpose classes and functions.
4 //
5 // Copyright (C) Luis C. Pérez Tato
6 //
7 // XC utils is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // This software is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program.
19 // If not, see <http://www.gnu.org/licenses/>.
20 //----------------------------------------------------------------------------
21 //TriangularPrism3d.h
22 
23 #ifndef TRIANGULARPRISM3D_H
24 #define TRIANGULARPRISM3D_H
25 
26 #include "RightPrism3d.h"
27 #include "utility/geom/d2/Triangle3d.h"
28 
29 
31 //
33 class TriangularPrism3d : public RightPrism3d<Triangle3d>
34  {
35  public:
37  public:
38  TriangularPrism3d(const Triangle3d &tr= Triangle3d(),const double &h=1.0);
39  virtual GeomObj *getCopy(void) const;
40 
41  };
42 #endif
43 
44 
45 
46 
47 
48 
Triangular right prism.
Definition: TriangularPrism3d.h:33
Right prism.
Definition: RightPrism3d.h:35
Triangle in a three-dimensional space.
Definition: Triangle3d.h:34
Clase base para las entidades geométricas.
Definition: GeomObj.h:40