Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Analytical Geometry in Python with GeoMath

105 views
Skip to first unread message

Vinicius Mesel

unread,
May 3, 2016, 7:49:03 PM5/3/16
to


Hey guys,

I'm back after some time in the darkness(lol).



So I'm here to announce my contribution for the mathematicians and physicians and other guys who love geometry like me!

I created a library called "GeoMath" that it's intent is to solve all Analytical Geometry problems in a simple way using Python.

If you want to check it out, here is the link: https://github.com/vmesel/GeoMath

And if you want to install it and start solving your problems with it, just run: pip install geomath!





Tnx,

Vinicius Mesel

Steven D'Aprano

unread,
May 4, 2016, 5:08:56 AM5/4/16
to
On Wednesday 04 May 2016 09:48, Vinicius Mesel wrote:

> I created a library called "GeoMath" that it's intent is to solve all
> Analytical Geometry problems in a simple way using Python.
>
> If you want to check it out, here is the link:
> https://github.com/vmesel/GeoMath
>
> And if you want to install it and start solving your problems with it,
> just run: pip install geomath!


Can you show us some examples?



--
Steve

Vinicius

unread,
May 4, 2016, 2:17:06 PM5/4/16
to
Yes sure,

To add a point, you do:
From geomath import point
A = point.Point(x,y)
A.distance(PointB)
A.mispoint(PointB)
A.quadrant()

To make usage of the Figure class
From geomath import figure
Square = figure.Figure()
Square.addpoints(pointA, PointB, PointC, PointD)

To make use of the line class
From geomath import line
Line = line.Line(PointA, PointB )
Line.equation()


These are some basic functions, the others we are still implementing.

Tnx,

Vinicius Mesel

Fabien

unread,
May 4, 2016, 2:54:06 PM5/4/16
to
On 05/04/2016 01:48 AM, Vinicius Mesel wrote:
> f you want to check it out, here is the link:https://github.com/vmesel/GeoMath

Thanks! What differences will your package have with shapely?

https://github.com/Toblerity/Shapely

Cheers

Fabien

Steven D'Aprano

unread,
May 12, 2016, 3:31:48 AM5/12/16
to
Hi Vinicius,

On Thursday 05 May 2016 04:16, Vinicius wrote:

> To add a point, you do:
> From geomath import point
> A = point.Point(x,y)
> A.distance(PointB)
> A.mispoint(PointB)
> A.quadrant()


How does your library compare with Eukleides?

http://www.eukleides.org/quickstart.html



--
Steve

0 new messages