Добавьте файлы проекта.

This commit is contained in:
Anton Kamalov
2025-05-13 20:24:51 +03:00
parent 8fab8f453f
commit 47b39d658d
27 changed files with 1758901 additions and 0 deletions

43
src/Form.cpp Normal file
View 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;
}