Skip to main content

Calculate many figures area or volume

Project description

marksgeometrys

A mathematical library to calculate many figures area or volume.

Developed by Marc Pérez (c) 2024

Examples of How To Use

Calculate The Area of a 2D Figure

from marksgeometrys import Square

print(Square(side=3).area())

Calculate The Area of a 3D Figure

from marksgeometrys import Icosahedron

print(Icosahedron(side=10).area())

Calculate The Volume of a 3D Figure

from marksgeometrys import PyramidTrunk

print(PyramideTrunk(sbside=5, sidesnumber=7, sbapothem=4, lbside=10, lbapothem=8, latlargebase=8, latsmallbase=5, latheight=9, height=10.5).volume())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marksgeometrys-0.1.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

marksgeometrys-0.1.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page