Struct Edge

Struct Documentation

struct Edge

Public Functions

inline explicit Edge(const Point2D &new_a = Point2D(0.0, 0.0), const Point2D &new_b = Point2D(0.0, 0.0))
inline Edge(const Edge &e)
inline bool operator()(const Point2D &p) const
inline double distance(const Point2D &p)
inline bool self() const
inline Edge &operator=(const Edge &e)
inline bool operator==(const Edge &e) const
inline bool operator!=(const Edge &e) const

Public Members

Point2D a
Point2D b

Friends

inline friend std::ostream &operator<<(std::ostream &out, const Edge &e)