addObstacle

open override fun addObstacle(obstacle: RectObstacle2D<Euclidean2DPosition>)

Adds an obstacle to this environment. Obstacles are part of the environment setup: adding one fails once the environment holds nodes.

Parameters

obstacle
          the obstacle to add