Analytical Geometry in Python with GeoMath
Vinicius
me at vmesel.com
Wed May 4 14:16:36 EDT 2016
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 at 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
>
>
More information about the Python-list
mailing list