Table of Contents
About The Project
Points
represent 2-dimensional points. All geometric shapes are vectors of Points
internally.
You can instantiate the following geometric shapes:
- polygonal chain
- closed polygonal chain
- polygon
- triangle
- trapezoid
- regular polygon
You can calculate the perimeter and area of the shapes.
Getting Started
To calculate the perimeter and area of geometric shapes, follow the simple steps below.
Installation
- Clone the repo
git clone https://github.com/MariaMozgunova/geometric_shapes_area_perimeter.git
- Include program into your code
#include "geometric_shapes_area_perimeter/geometry.cpp"
Usage
See main_geometry.cpp
for examples of usage.
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Maria Mozgunova - Twitter - @MariaMozgunova - mariiamozgunova@gmail.com
Project Link: https://github.com/MariaMozgunova/geometric_shapes_area_perimeter