Adding vis bool functions
This commit is contained in:
parent
fdccad4af4
commit
c23a853d54
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
build/main
BIN
build/main
Binary file not shown.
@ -36,4 +36,9 @@ double Line::get_vis_start() const
|
||||
double Line::get_vis_end() const
|
||||
{
|
||||
return vis_end;
|
||||
}
|
||||
|
||||
bool Line::is_vis()
|
||||
{
|
||||
return vis;
|
||||
}
|
||||
@ -14,9 +14,11 @@ class Line
|
||||
|
||||
double get_vis_start() const;
|
||||
double get_vis_end() const;
|
||||
bool is_vis();
|
||||
private:
|
||||
double slope;
|
||||
double ycept;
|
||||
double vis_start;
|
||||
double vis_end;
|
||||
bool vis;
|
||||
};
|
||||
@ -58,7 +58,7 @@ std::vector<Line> construct_HWprob()
|
||||
std::vector<Line> visible_lines(std::vector<Line> lines)
|
||||
{
|
||||
std::vector<Line> line_sol;
|
||||
|
||||
|
||||
return line_sol;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user