getObstaclesInRange

abstract fun getObstaclesInRange(center: Euclidean2DPosition, range: Double): List<W>

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

abstract fun getObstaclesInRange(centerx: Double, centery: Double, range: Double): List<W>

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