代写代考 // Copyright (c) 2022 . All rights reserved.

// Copyright (c) 2022 . All rights reserved.

#include “Line.hpp”

Copyright By PowCoder代写 加微信 powcoder

#include
#include

namespace course
Line::Line()
//TODO: write your code here…

Line::Line(const Point& a, const Point& b)
//TODO: write your code here…

double Line::signeDistance(const Point& p) const
//TODO: write your code here…

return {};

Line Line::makeHorizontal(double offset)
//TODO: write your code here…

return {};

Line Line::makeVertical(double offset)
//TODO: write your code here…

return {};

bool Line::isHorizontal() const
//TODO: write your code here…

return {};

bool Line::isVertical() const
//TODO: write your code here…

return {};

double Line::x(double y) const
//TODO: write your code here…

return {};

double Line::y(double x) const
//TODO: write your code here…

return {};

bool Line::intersect(const Line& other, Point* pPoint) const
//TODO: write your code here…

return {};

Line Line::perpendicular(const Point& p) const
//TODO: write your code here…

return {};;

Line Line::parallel(const Point& p) const
//TODO: write your code here…

return {};

std::ostream& operator<<(std::ostream& stream, const Line& line) //TODO: write your code here... return stream; 程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com