containsCoordinates method
- Coordinates point
override
Checks if the specified point is contained within the geographic area.
Parameters
- IN point A Coordinates object representing the point to check.
Returns
- True if the point is within the geographic area, false otherwise.
Implementation
@override
bool containsCoordinates(final Coordinates point) {
return point.distance(centerCoordinates) <= radius;
}