Добавьте файлы проекта.
This commit is contained in:
43
src/Form.cpp
Normal file
43
src/Form.cpp
Normal file
@@ -0,0 +1,43 @@
|
||||
#include "Form.hpp"
|
||||
|
||||
size_t Form::counter_ = 0;
|
||||
|
||||
double Form::Function(double, double) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
std::pair<double, double> Form::Deriative(double, double) {
|
||||
return { 0, 0 };
|
||||
}
|
||||
|
||||
std::pair<double, double> Form::size() {
|
||||
return { 0, 0 };
|
||||
}
|
||||
|
||||
bool Form::Inhere(double, double) {
|
||||
return false;
|
||||
}
|
||||
|
||||
std::pair<double, double> Form::missX(double) {
|
||||
return { 0, 0 };
|
||||
}
|
||||
|
||||
std::pair<double, double> Form::missY(double) {
|
||||
return { 0, 0 };
|
||||
}
|
||||
|
||||
Form::Form() {
|
||||
id_ = counter_++;
|
||||
excluded_ = false;
|
||||
_boundtype = -1;
|
||||
}
|
||||
|
||||
bool Form::Excluded() const {
|
||||
return excluded_;
|
||||
}
|
||||
|
||||
int Form::GetB() { return _boundtype; }
|
||||
|
||||
bool Form::operator==(size_t id) const {
|
||||
return id_ == id;
|
||||
}
|
||||
Reference in New Issue
Block a user