# Class cocos.collision_model.CircleShape

Implements the Cshape interface that uses discs as geometric shape.

Distance is the euclidean distance.

Look at Cshape for other class and methods documentation.

## Methods

| __init__(self, center, r)
| overlaps(self, other)
| distance(self, other)
| near_than(self, other, near_distance)
| touches_point(self, x, y)
| fits_in_box(self, packed_box)
| minmax(self)
| copy(self)

## Method Details

### __init__

(Constructor) __init__(self, center, r)

Parameters:
  center : euclid.Vector2
    rectangle center
  r : float
    disc radius