# circle(Point2D,ZZ) -- a circle from a center and a radius

## Synopsis

• Function: circle
• Usage:
circle(p,r)
• Inputs:
• p, an instance of the type Point2D, the center of the circle
• r, an integer, the radius of the circle
• Outputs:
• an instance of the type Circle, the circle with center p and radius r

## Description

 i1 : circle(point(20,30),10) o1 = Circle{Point2D{20, 30}, 10} o1 : Circle