geirs2Panic  Richard J. Mathar
Fits header keyword batch editor
 All Classes Files Functions Variables Macros Pages
Circle2D.h
Go to the documentation of this file.
1 #ifndef CIRCLE2D_H
2 #define CIRCLE2D_H
3 /*
4 * "$Header:$"
5 *
6 */
7 
8 /*
9 #include <string>
10 #include <vector>
11 */
12 
13 #include "Point2D.h"
14 
15 using namespace std ;
16 
22 class Circle2D : public Point2D {
23 
24 public:
27  double rad ;
28 
29  Circle2D(double x, double y, double r) ;
30  Circle2D(const Point2D ctr, double r) ;
31  Circle2D() ;
32  // ~Circle2D() ;
33 
34  bool overlap(const Circle2D & oth) const ;
35 
36 protected:
37 
38 private:
39 
40 } ; /* Circle2D */
41 
42 #endif /* CIRCLE2D_H */
43 
A circle represented by center point coordinate and radius.
Definition: Circle2D.h:22
double rad
The radius.
Definition: Circle2D.h:27
A point with 2 coordinates represented in a Cartesian coordinate system.
Definition: Point2D.h:20