Rect Obstacle2D
This class implements a rectangular obstacle, whose sides are parallel to the cartesian axis.
Parameters
<V>
Vector2D type
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Given a vector (represented as a starting point and an end point), computes the intersection point between the vector and the obstacle nearest to the vector's starting point.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Obtains the vertices of a polygonal shape. Any curved segment connecting two points will be considered as a straight line between them.