Points&Forces (core)
Software tools facilitating the task of surveying architecture
include
a_dxf_3dface.h
Go to the documentation of this file.
1
/*
2
Copyright 2010-2011 Pierre SMARS (smars@yuntech.edu.tw)
3
This program is free software: you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation, either version 2 of the License, or
6
(at your option) any later version.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License
14
along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
#ifndef _VE_DXF_3DFACE_H_
17
#define _VE_DXF_3DFACE_H_
18
19
// .NAME a_dxf_3dface
20
// .PORTABILITY ansi C++
21
// .SECTION Author
22
// Pierre Smars
23
24
#include <iostream>
25
#include <string>
26
#include "
a_dxf_entity.h
"
27
29
class
a_dxf_3dface
:
public
a_dxf_entity
30
{
31
public
:
32
a_dxf_3dface
(std::istream * file);
33
bool
read
();
34
double
x1
() {
return
x1_
;}
35
double
y1
() {
return
y1_
;}
36
double
z1
() {
return
z1_
;}
37
double
x2
() {
return
x2_
;}
38
double
y2
() {
return
y2_
;}
39
double
z2
() {
return
z2_
;}
40
double
x3
() {
return
x3_
;}
41
double
y3
() {
return
y3_
;}
42
double
z3
() {
return
z3_
;}
43
44
protected
:
45
double
x1_
;
bool
x1_ok
;
46
double
y1_
;
bool
y1_ok
;
47
double
z1_
;
bool
z1_ok
;
48
double
x2_
;
bool
x2_ok
;
49
double
y2_
;
bool
y2_ok
;
50
double
z2_
;
bool
z2_ok
;
51
double
x3_
;
bool
x3_ok
;
52
double
y3_
;
bool
y3_ok
;
53
double
z3_
;
bool
z3_ok
;
54
};
55
56
#endif
a_dxf_entity.h
a_dxf_3dface
a dxf 3dface
Definition:
a_dxf_3dface.h:30
a_dxf_3dface::z2_ok
bool z2_ok
Definition:
a_dxf_3dface.h:50
a_dxf_3dface::y1_
double y1_
Definition:
a_dxf_3dface.h:46
a_dxf_3dface::y3_ok
bool y3_ok
Definition:
a_dxf_3dface.h:52
a_dxf_3dface::z3
double z3()
Definition:
a_dxf_3dface.h:42
a_dxf_3dface::y2_ok
bool y2_ok
Definition:
a_dxf_3dface.h:49
a_dxf_3dface::y2_
double y2_
Definition:
a_dxf_3dface.h:49
a_dxf_3dface::read
bool read()
Definition:
a_dxf_3dface.cxx:27
a_dxf_3dface::x3
double x3()
Definition:
a_dxf_3dface.h:40
a_dxf_3dface::y1_ok
bool y1_ok
Definition:
a_dxf_3dface.h:46
a_dxf_3dface::y2
double y2()
Definition:
a_dxf_3dface.h:38
a_dxf_3dface::z2_
double z2_
Definition:
a_dxf_3dface.h:50
a_dxf_3dface::y1
double y1()
Definition:
a_dxf_3dface.h:35
a_dxf_3dface::x3_
double x3_
Definition:
a_dxf_3dface.h:51
a_dxf_3dface::x2_ok
bool x2_ok
Definition:
a_dxf_3dface.h:48
a_dxf_3dface::z3_
double z3_
Definition:
a_dxf_3dface.h:53
a_dxf_3dface::y3_
double y3_
Definition:
a_dxf_3dface.h:52
a_dxf_3dface::x1_ok
bool x1_ok
Definition:
a_dxf_3dface.h:45
a_dxf_3dface::x1
double x1()
Definition:
a_dxf_3dface.h:34
a_dxf_3dface::x2
double x2()
Definition:
a_dxf_3dface.h:37
a_dxf_3dface::z1
double z1()
Definition:
a_dxf_3dface.h:36
a_dxf_3dface::x3_ok
bool x3_ok
Definition:
a_dxf_3dface.h:51
a_dxf_3dface::y3
double y3()
Definition:
a_dxf_3dface.h:41
a_dxf_3dface::z1_ok
bool z1_ok
Definition:
a_dxf_3dface.h:47
a_dxf_3dface::x2_
double x2_
Definition:
a_dxf_3dface.h:48
a_dxf_3dface::z2
double z2()
Definition:
a_dxf_3dface.h:39
a_dxf_3dface::z3_ok
bool z3_ok
Definition:
a_dxf_3dface.h:53
a_dxf_3dface::x1_
double x1_
Definition:
a_dxf_3dface.h:45
a_dxf_3dface::a_dxf_3dface
a_dxf_3dface(std::istream *file)
Definition:
a_dxf_3dface.cxx:20
a_dxf_3dface::z1_
double z1_
Definition:
a_dxf_3dface.h:47
a_dxf_entity
a generic dxf entity
Definition:
a_dxf_entity.h:29
Generated on Tue Sep 6 2022 18:50:16 for Points&Forces (core) by
1.9.1