Re: Analytical Geometry in Python with GeoMath

2016-05-12 Thread Steven D'Aprano
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

Re: Analytical Geometry in Python with GeoMath

2016-05-04 Thread Fabien
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 -- https://mail.python.org/mailman/listinfo/python-lis

Re: Analytical Geometry in Python with GeoMath

2016-05-04 Thread Vinicius
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 clas

Re: Analytical Geometry in Python with GeoMath

2016-05-04 Thread Steven D'Aprano
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