Feature
Develop a function that, given two building ID's, will create a line segment between the buildings.
Return a list of all buildings that are within X meters of the line segment (including the buildings themselves)
Example Format
Parameters:
- Start Building ID
- End Building ID
- Max Offset Distance
Return:
Example Diagram
Start Building is Tyree Energy Technology
End Building is Morven Brown Building
Max Offset is the distance in Green
The line segment between the buildings is in Red.
The box in Blue includes all of the buildings within the requirements.
In this case, the valid buildings would be:
- Tyree Energy Technology
- Newton Building
- Science Theatre
- Quadrangle Building
- Morven Brown Building
Acceptance criteria
Base Use
- Input: 2 Building ID's, varying distances
- Output: A list of building ID's within the requirements (regardless of if there are available rooms)
Feature
Develop a function that, given two building ID's, will create a line segment between the buildings.
Return a list of all buildings that are within X meters of the line segment (including the buildings themselves)
Example Format
Parameters:
Return:
Example Diagram
Start Building is Tyree Energy Technology
End Building is Morven Brown Building
Max Offset is the distance in Green
The line segment between the buildings is in Red.
The box in Blue includes all of the buildings within the requirements.
In this case, the valid buildings would be:
Acceptance criteria
Base Use