BALL 1.5.0
point.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4// $Id: point.h,v 1.10.16.1 2007-03-25 21:26:10 oliver Exp $
5//
6
7#ifndef BALL_VIEW_PRIMITIVES_POINT_H
8#define BALL_VIEW_PRIMITIVES_POINT_H
9
10#ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
12#endif
13
14#ifndef BALL_VIEW_DATATYPE_VERTEX1_H
16#endif
17
18namespace BALL
19{
20 namespace VIEW
21 {
22
35 : public GeometricObject,
36 public Vertex
37 {
38 public:
39
41
42
45
46
53
56 Point(const Point& point);
57
59
61
64 virtual ~Point();
65
70 virtual void clear();
71
73
76
79 void set(const Point& point);
80
84 const Point& operator = (const Point& point);
85
90 void swap(Point& point);
91
93
95
98 virtual bool isValid() const;
99
110 virtual void dump(std::ostream& s = std::cout, Size depth = 0) const;
111
112 // Method to get all vertices from a geometric object
113 virtual void getVertices(vector<Vector3>& vertices) const;
114
116
117 };
118
119 } // namespace VIEW
120} // namespace BALL
121
122#endif // BALL_VIEW_PRIMITIVES_POINT_H
#define BALL_CREATE(name)
Definition: create.h:62
STL namespace.
Definition: constants.h:13
#define BALL_VIEW_EXPORT
Definition: COMMON/global.h:52