forked from aerolalit/RANSAC-Algorithm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCircle.hpp
More file actions
33 lines (30 loc) · 702 Bytes
/
Copy pathCircle.hpp
File metadata and controls
33 lines (30 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// Circle.hpp
// cppransac
//
// Created by ललित सिंह on 09/11/2016.
// Copyright © 2016 ललित सिंह. All rights reserved.
//
#ifndef Circle_hpp
#define Circle_hpp
#include <stdio.h>
#include "mypoint2f.hpp"
#include "LinearEqu.hpp"
#include "Header.hpp"
#include <vector>
class Circle{
private:
double radius;
mypoint2f center;
bool isSingular;
public:
Circle();
Circle(double, mypoint2f);
Circle( mypoint2f, mypoint2f, mypoint2f);
Circle (std::vector<mypoint2f>);
bool getSingular();
mypoint2f getCenter();
double getRadius();
friend std::ostream& operator<<(std::ostream&, Circle&);
};
#endif /* Circle_hpp */