xc
src
utility
geom
pos_vec
VectorPos3d.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
//VectorPos3d
22
23
#ifndef VECTORPOS3D_H
24
#define VECTORPOS3D_H
25
26
#include "Pos3d.h"
27
#include "VectorPos.h"
28
30
//
32
class
VectorPos3d
:
public
VectorPos
<Pos3d>
33
{
34
public
:
35
VectorPos3d
(
const
size_t
&f=1):
VectorPos<Pos3d>
(f) {}
36
VectorPos3d
(
const
Pos3d
&p1,
const
Pos3d
&p2,
const
size_t
&num,
const
GEOM_FT &ratio)
37
:
VectorPos<Pos3d>
(p1,p2,num,ratio) {}
38
VectorPos3d
(
const
Pos3d
&p1,
const
Pos3d
&p2,
const
size_t
&ndiv)
39
:
VectorPos<Pos3d>
(p1,p2,ndiv) {}
40
};
41
42
#endif
VectorPos
Clase base para los vectores de posiciones.
Definition:
VectorPos.h:34
Pos3d
Posición en tres dimensiones.
Definition:
Pos3d.h:44
VectorPos3d
Vector de posiciones en tres dimensiones [(x1,y1,z1),(x1,y2,z2),...].
Definition:
VectorPos3d.h:32
Generated by
1.8.13