Масштабное переобозначение
Улучшение читаемости и понимания кода
This commit is contained in:
12
src/Form.cpp
12
src/Form.cpp
@@ -6,7 +6,7 @@ double Form::Function(double, double) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
std::pair<double, double> Form::Deriative(double, double) {
|
||||
std::pair<double, double> Form::Second_Deriative(double, double) {
|
||||
return { 0, 0 };
|
||||
}
|
||||
|
||||
@@ -29,15 +29,15 @@ std::pair<double, double> Form::missY(double) {
|
||||
Form::Form() {
|
||||
id_ = counter_++;
|
||||
excluded_ = false;
|
||||
_boundtype = -1;
|
||||
bound_type = -1;
|
||||
}
|
||||
|
||||
bool Form::Excluded() const {
|
||||
return excluded_;
|
||||
}
|
||||
|
||||
int Form::GetB() { return _boundtype; }
|
||||
int Form::GetB() { return bound_type; }
|
||||
|
||||
bool Form::operator==(size_t id) const {
|
||||
return id_ == id;
|
||||
}
|
||||
//bool Form::operator==(size_t id) const {
|
||||
// return id_ == id;
|
||||
//}
|
||||
Reference in New Issue
Block a user