BALL 1.5.0
Loading...
Searching...
No Matches
line.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4// $Id: line.h,v 1.9.16.1 2007-03-25 21:26:09 oliver Exp $
5//
6
7#ifndef BALL_VIEW_PRIMITIVES_LINE_H
8#define BALL_VIEW_PRIMITIVES_LINE_H
9
10#ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
12#endif
13
14#ifndef BALL_VIEW_DATATYPE_VERTEX2_H
16#endif
17
18namespace BALL
19{
20 namespace VIEW
21 {
22
36 : public GeometricObject,
37 public Vertex2
38 {
39 public:
40
42
43
46
47
59
64 Line(const Line& line);
65
67
69
72 virtual ~Line();
73
80 virtual void clear();
81
83
85
89 void set(const Line& line);
90
94 const Line& operator = (const Line& line);
95
101 void swap(Line& line);
102
104
106
119 virtual bool isValid() const;
120
131 virtual void dump(std::ostream& s = std::cout, Size depth = 0) const;
132
133 // Method to get all vertices from a geometric object
134 virtual void getVertices(vector<Vector3>& vertices) const;
135
137 };
138
139 } // namespace VIEW
140} // namespace BALL
141
142#endif // BALL_VIEW_PRIMITIVES_LINE_H
#define BALL_CREATE(name)
Definition create.h:62
STL namespace.
#define BALL_VIEW_EXPORT