mytoolbox.module1.Circle#

class Circle(O, r)[source]#

A class representing a circle

Parameters:
  • O (npt.ndarray) – circle center coordinates

  • r (float) – circle radius

Methods

plot(ax, **kwargs)

plot the circle on a given matplotlib ax

Attributes

Circle.O

circle center coordinates

Circle.r

circle radius

Circle.p

circle perimeter

Circle.a

circle area

Examples using mytoolbox.module1.Circle#

Example 4

Example 4