Vector2D p1() const
Returns the fist endpoint of the line segment.
Definition: LineObstacle.h:39
~LineObstacle()
Definition: LineObstacle.cpp:22
A line segment obstacle class.
Definition: LineObstacle.h:25
Contains the Vector2D class; a two-dimensional vector class and related vector operations.
Vector2D p2() const
Returns the second endpoint of the line segment.
Definition: LineObstacle.h:41
Vector2D _normal
The normal vector of the line obstacle.
Definition: LineObstacle.h:52
Vector2D _p1
The first endpoint of the obstacle.
Definition: LineObstacle.h:48
Vector2D normal() const
Returns the normal of the line obstacle.
Definition: LineObstacle.h:43
A two-dimensional vector class.
Definition: Vector2D.h:28
Vector2D _p2
The second endpoint of the obstacle.
Definition: LineObstacle.h:50