BALL 1.5.0
Loading...
Searching...
No Matches
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
44 //@{
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_VIEW_EXPORT
virtual bool isValid() const
void set(const Point &point)
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
virtual void getVertices(vector< Vector3 > &vertices) const
void swap(Point &point)
virtual void clear()
#define BALL_CREATE(name)
Definition create.h:62
BALL_SIZE_TYPE Size
TVector3< float > Vector3
Definition vector3.h:1084
STL namespace.