hasPoint method

bool hasPoint(
  1. Point point
)

Check if a given point is inside of this circle

Implementation

bool hasPoint(Point point) {
  return (center.distanceTo(point) <= radius);
}