-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathG6.h
executable file
·50 lines (40 loc) · 1.02 KB
/
G6.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef NC_VEC_H
#define NC_VEC_H
#include "VecN.h"
class Cell;
class D6;
class DeloneTetrahedron;
class D7;
#include <ostream>
#include <string>
class G6 : public VecN {
public:
friend std::ostream& operator<< ( std::ostream&, const D7& );
friend class D6;
G6(void);
G6(const G6& v);
G6(const double v[6]);
G6(const D7& v);
G6(const Cell& c);
G6(const VecN& v);
G6(const D6& ds);
G6(const DeloneTetrahedron& dt);
G6(const std::string& s);
G6(const std::vector<double>& v);
~G6(void) {}
bool reduce(void);
bool isreduced(void);
void setreduced(void);
void unsetreduced(void);
G6& operator= (const G6& v);
G6& operator= (const std::string& s);
G6& operator= (const D7& v);
G6& operator= (const D6& v);
G6& operator= (const DeloneTetrahedron& v);
G6& operator= (const Cell& v);
static double DistanceBetween( const G6& v1, const G6& v2 );
G6 InverseG6Vector( void ) const;
private:
bool m_reduced;
};
#endif