public interface Obstacle
Modifier and Type | Method and Description |
---|---|
boolean |
obstructLink(Node node1,
Node node2)
This function is automatically call by the obstacleDetector to known if the obstacle obstructs the link between node1 and node2
|
Point |
pointAtMinimumDistance(Node node)
This function return the Point on the obstacle which is at the minimum distance from the given node
|
boolean obstructLink(Node node1, Node node2)
node1
- First node of the linknode2
- Second node of the linkPoint pointAtMinimumDistance(Node node)
node
- The node which you want to know the point on the obstacle which is at the minimum distance from it