BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
PRIMITIVES
disc.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
// $Id: disc.h,v 1.8.16.1 2007-03-25 21:26:08 oliver Exp $
5
//
6
7
#ifndef BALL_VIEW_PRIMITIV_DISC_H
8
#define BALL_VIEW_PRIMITIV_DISC_H
9
10
#ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
11
# include <
BALL/VIEW/KERNEL/geometricObject.h
>
12
#endif
13
14
#ifndef BALL_VIEW_MATHS_CIRCLE3_H
15
# include <
BALL/MATHS/circle3.h
>
16
#endif
17
18
namespace
BALL
19
{
20
namespace
VIEW
21
{
29
class
BALL_VIEW_EXPORT
Disc
30
:
public
GeometricObject
,
31
protected
Circle3
32
{
33
public
:
34
35
BALL_CREATE
(
Disc
)
36
37
40
43
Disc
();
44
47
Disc
(
const
Disc
& disc);
48
49
Disc
(
const
Circle3
& circle);
50
52
54
58
virtual
~
Disc
();
59
64
virtual
void
clear();
65
67
70
73
void
set
(
const
Disc
&
Disc
);
74
77
const
Disc
& operator = (
const
Disc
&
Disc
);
78
82
void
swap(Disc& Disc);
83
85
void
setCircle(
const
Circle3
& circle);
86
87
const
Circle3
& getCircle()
const
88
{
return
*
this
;}
89
91
94
104
virtual
bool
isValid()
const
;
105
116
virtual
void
dump(std::ostream& s = std::cout,
Size
depth = 0)
const
;
117
118
// Method to get all vertices from a geometric object
119
virtual
void
getVertices(vector<Vector3>& vertices)
const
;
120
122
};
123
124
}
// namespace VIEW
125
}
// namespace BALL
126
127
#endif // BALL_VIEW_PRIMITIV_Disc_H
Generated by
1.8.3.1