Points&Forces (survey)
Software tools facilitating the task of surveying architecture
include
a_vertex.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 _A_VERTEX_H_
17
#define _A_VERTEX_H_
18
19
#include "a_point.h"
20
21
class
a_vertex
:
public
a_point
22
{
23
public
:
24
a_vertex
() :
pos_
(),
ref_
(-1) {};
25
//: input/output
26
friend
std::istream&
operator>>
(std::istream& i,
a_vertex
& b);
27
friend
std::ostream&
operator<<
(std::ostream& o,
const
a_vertex
& b);
28
29
protected
:
30
int
ref_
;
31
a_point
pos_
;
32
};
33
34
#endif
35
a_vertex
Definition:
a_vertex.h:22
a_vertex::ref_
int ref_
Definition:
a_vertex.h:30
a_vertex::pos_
a_point pos_
Definition:
a_vertex.h:31
a_vertex::a_vertex
a_vertex()
Definition:
a_vertex.h:24
a_vertex::operator>>
friend std::istream & operator>>(std::istream &i, a_vertex &b)
Definition:
a_vertex.cxx:20
a_vertex::operator<<
friend std::ostream & operator<<(std::ostream &o, const a_vertex &b)
Definition:
a_vertex.cxx:27
Generated on Tue Sep 6 2022 18:45:48 for Points&Forces (survey) by
1.9.1