1#ifndef LINE_SEGMENTS_INCLUDED
2#define LINE_SEGMENTS_INCLUDED
18 static const double A;
21 static const double B;
24 static const double P;
33 double length(
void )
const;
Definition: lineSegments.h:15
Util::Point2D endPoints[2]
Definition: lineSegments.h:27
Util::Point2D perpendicular(void) const
Definition: lineSegments.todo.cpp:27
static const double A
Definition: lineSegments.h:18
OrientedLineSegment operator*(double s) const
Definition: lineSegments.cpp:19
static const double P
Definition: lineSegments.h:24
double length(void) const
Definition: lineSegments.todo.cpp:11
double getWeight(Util::Point2D p) const
Definition: lineSegments.cpp:17
static Util::Point2D GetSourcePosition(const OrientedLineSegment &source, const OrientedLineSegment &destination, Util::Point2D target)
Definition: lineSegments.todo.cpp:36
OrientedLineSegment operator+(const OrientedLineSegment &ols) const
Definition: lineSegments.cpp:26
static const double B
Definition: lineSegments.h:21
double distance(Util::Point2D p) const
Definition: lineSegments.todo.cpp:19
Definition: lineSegments.h:63
Util::Point2D getSourcePosition(Util::Point2D destination) const
Definition: lineSegments.cpp:44
Definition: geometry.h:52
std::istream & operator>>(std::istream &stream, OrientedLineSegment &ols)
Definition: lineSegments.cpp:37
std::ostream & operator<<(std::ostream &stream, const OrientedLineSegment &ols)
Definition: lineSegments.cpp:35