Points&Forces (core)
Software tools facilitating the task of surveying architecture
include
a_dxf_point.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_POINT_H_
17
#define _VE_DXF_POINT_H_
18
19
// .NAME a_dxf_point
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_point
:
public
a_dxf_entity
30
{
31
public
:
32
a_dxf_point
(std::istream * file);
33
bool
read
();
34
double
x
() {
return
x_
;}
35
double
y
() {
return
y_
;}
36
double
z
() {
return
z_
;}
37
38
protected
:
39
double
x_
;
bool
x_ok
;
40
double
y_
;
bool
y_ok
;
41
double
z_
;
bool
z_ok
;
42
};
43
44
#endif
a_dxf_entity.h
a_dxf_entity
a generic dxf entity
Definition:
a_dxf_entity.h:29
a_dxf_point
a dxf point
Definition:
a_dxf_point.h:30
a_dxf_point::read
bool read()
Definition:
a_dxf_point.cxx:25
a_dxf_point::y_ok
bool y_ok
Definition:
a_dxf_point.h:40
a_dxf_point::x
double x()
Definition:
a_dxf_point.h:34
a_dxf_point::x_ok
bool x_ok
Definition:
a_dxf_point.h:39
a_dxf_point::z_
double z_
Definition:
a_dxf_point.h:41
a_dxf_point::x_
double x_
Definition:
a_dxf_point.h:39
a_dxf_point::z
double z()
Definition:
a_dxf_point.h:36
a_dxf_point::a_dxf_point
a_dxf_point(std::istream *file)
Definition:
a_dxf_point.cxx:20
a_dxf_point::z_ok
bool z_ok
Definition:
a_dxf_point.h:41
a_dxf_point::y
double y()
Definition:
a_dxf_point.h:35
a_dxf_point::y_
double y_
Definition:
a_dxf_point.h:40
Generated on Tue Sep 6 2022 18:50:16 for Points&Forces (core) by
1.9.1