xc
Reflection3d.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 //Reflection3d.h
22 //Reflection in three-dimensional space.
23 
24 #ifndef REFLECTION3D_H
25 #define REFLECTION3D_H
26 
27 #include "Trf3d.h"
28 
29 class Plane;
30 
31 
33 //
35 class Reflection3d: public Trf3d
36  {
37  private:
38  static FT_matrix reflection3d_matrix(const Pos3d &Q,const Vector3d &d);
39 
40  public:
41  Reflection3d(void);
42  Reflection3d(const Pos3d &Q,const Vector3d &d);
43  Reflection3d(const Plane &M);
44  };
45 
46 #endif
Reflection3d(void)
Default constructor.
Definition: Reflection3d.cc:46
Plane in a three-dimensional space.
Definition: Plane.h:49
Reflexión en 3d.
Definition: Reflection3d.h:35
Posición en tres dimensiones.
Definition: Pos3d.h:44
Three-dimensional transformation.
Definition: Trf3d.h:39
Matrix which components are GEOM_FT numbers.
Definition: FT_matrix.h:40
Vector en tres dimensiones.
Definition: Vector3d.h:39