getObstaclesInRange

fun getObstaclesInRange(@Nonnull center: Euclidean2DPosition, range: Double): List<RectObstacle2D<Euclidean2DPosition>>

Given a point and a range, retrieves all the obstacles within.

Return

the list of obstacles

Parameters

center
    the center point
range
    the range to scan

fun getObstaclesInRange(centerx: Double, centery: Double, range: Double): List<RectObstacle2D<Euclidean2DPosition>>

Given a point and a range, retrieves all the obstacles within.

Return

the list of Obstacles

Parameters

centerx
    the x coordinate of the center
centery
    the y coordinate of the center
range
    the range to scan