Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #108107 > unrolled thread

Analytical Geometry in Python with GeoMath

Started byVinicius Mesel <me@vmesel.com>
First post2016-05-03 20:48 -0300
Last post2016-05-04 20:53 +0200
Articles 5 — 4 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Analytical Geometry in Python with GeoMath Vinicius Mesel <me@vmesel.com> - 2016-05-03 20:48 -0300
    Re: Analytical Geometry in Python with GeoMath Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-05-04 19:08 +1000
      Re: Analytical Geometry in Python with GeoMath Vinicius <me@vmesel.com> - 2016-05-04 15:16 -0300
        Re: Analytical Geometry in Python with GeoMath Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-05-12 17:31 +1000
    Re: Analytical Geometry in Python with GeoMath Fabien <fabien.maussion@gmail.com> - 2016-05-04 20:53 +0200

#108107 — Analytical Geometry in Python with GeoMath

FromVinicius Mesel <me@vmesel.com>
Date2016-05-03 20:48 -0300
SubjectAnalytical Geometry in Python with GeoMath
Message-ID<mailman.370.1462319330.32212.python-list@python.org>

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

[toc] | [next] | [standalone]


#108124

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2016-05-04 19:08 +1000
Message-ID<5729bc1a$0$2927$c3e8da3$76491128@news.astraweb.com>
In reply to#108107
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

[toc] | [prev] | [next] | [standalone]


#108144

FromVinicius <me@vmesel.com>
Date2016-05-04 15:16 -0300
Message-ID<mailman.388.1462385807.32212.python-list@python.org>
In reply to#108124
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 

> Em 4 de mai de 2016, às 6:08 AM, Steven D'Aprano <steve+comp.lang.python@pearwood.info> escreveu:
> 
>> 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
> 
> 

[toc] | [prev] | [next] | [standalone]


#108543

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2016-05-12 17:31 +1000
Message-ID<57343157$0$1509$c3e8da3$5496439d@news.astraweb.com>
In reply to#108144
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

[toc] | [prev] | [next] | [standalone]


#108147

FromFabien <fabien.maussion@gmail.com>
Date2016-05-04 20:53 +0200
Message-ID<ngdgfs$1bor$1@gioia.aioe.org>
In reply to#108107
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web