Write a class library for analytic geometry on a plane. The following concepts need to be supported: point, line, segment, ray,polygon (a set of segments). You can do the following: move, rotate relative to the center of coordinates, to calculate the intersection, the distance between objects, for closed shapes-calculate the perimeter and the square. It is necessary to implement only the creation of objects and calculations, without drawing (visualization).
Click the README.md file. Click the pencil icon in the upper right corner of the file view to edit. In the editor, write a bit about yourself. Write a commit message that describes your changes. Click Commit changes button.