Defines the Shape base class for representing geometric shapes in 2D space.
Represents a circle in 2D space.
float radius
Radius of the circle.
bool IsInShape(Vector2D point) override
Checks if a given point lies within the circle's boundaries.
Abstract base class for 2D geometric shapes.
Vector2D center
The center point of the shape.
Represents a 2D vector (X, Y) and provides methods for vector arithmetic.