<commit_before>#ifndef LINE_EQUATION_H
#define LINE_EQUATION_H

#endif<commit_msg>Declare LineEquation class<commit_after>#ifndef LINE_EQUATION_H
#define LINE_EQUATION_H

#include "Vector2.h"

class LineEquation
{
public:
	LineEquation();
	LineEquation(Vector2 a, Vector2 b);
	LineEquation(Vector2 p, double m);
	
	~LineEquation();

	LineEquation(const LineEquation& e);
	LineEquation(LineEquation&& e);

	LineEquation& operator=(const LineEquation& e);
	LineEquation& operator=(LineEquation&& e);

	double operator()(const double x);

	void Move(const Vector2 v);
	Vector2 Intersection(LineEquation& e) const;
	bool IsHorizontal();
	bool IsVertical();

	double m;
	double b;
	bool vertical;
};

#endif
{'fraction_non_alphanumeric': 0.1111111111111111, 'fraction_numerical': 0.008547008547008548, 'mean_word_length': 6.811111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '497197', 'n_tokens_mistral': 258, 'n_tokens_neox': 231, 'n_words': 60}