Path: csiph.com!weretis.net!feeder4.news.weretis.net!storethat.news.telefonica.de!feedme.news.telefonica.de!telefonica.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Vinicius Newsgroups: comp.lang.python Subject: Re: Analytical Geometry in Python with GeoMath Date: Wed, 4 May 2016 15:16:36 -0300 Lines: 50 Message-ID: References: <154790603d7.1040ee3bd58689.8427362743863775803@vmesel.com> <5729bc1a$0$2927$c3e8da3$76491128@news.astraweb.com> <8F08F6A8-09F9-46BE-9D88-900490515868@vmesel.com> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de uSXEhChsFHXdF6kxdvUv+gcBuNQYPPFNuOB4lVfoY4EQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'url:github': 0.09; 'python.': 0.11; 'wednesday': 0.15; '2016': 0.16; 'examples?': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'run:': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'wrote:': 0.16; 'steve': 0.18; 'library': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'cc:no real name:2**0': 0.22; 'am,': 0.23; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'figure': 0.27; 'analytical': 0.29; 'sure,': 0.29; 'point': 0.33; 'class': 0.33; "d'aprano": 0.33; 'point,': 0.33; 'steven': 0.33; 'add': 0.34; 'solving': 0.35; 'created': 0.36; 'basic': 0.36; 'subject:: ': 0.37; 'received:192': 0.39; 'subject:with': 0.40; 'still': 0.40; 'called': 0.40; 'some': 0.40; 'your': 0.60; 'header:Message-Id:1': 0.61; 'show': 0.62; 'yes': 0.62; 'intent': 0.66; 'here': 0.66; 'link:': 0.69; 'square': 0.76; 'pip': 0.84; 'do:': 0.91 X-Mailer: iPad Mail (13D15) In-Reply-To: <5729bc1a$0$2927$c3e8da3$76491128@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <8F08F6A8-09F9-46BE-9D88-900490515868@vmesel.com> X-Mailman-Original-References: <154790603d7.1040ee3bd58689.8427362743863775803@vmesel.com> <5729bc1a$0$2927$c3e8da3$76491128@news.astraweb.com> Xref: csiph.com comp.lang.python:108144 Yes sure, To add a point, you do:=20 =46rom geomath import point A =3D point.Point(x,y) A.distance(PointB) A.mispoint(PointB) A.quadrant() To make usage of the Figure class =46rom geomath import figure Square =3D figure.Figure() Square.addpoints(pointA, PointB, PointC, PointD) To make use of the line class =46rom geomath import line Line =3D line.Line(PointA, PointB ) Line.equation() These are some basic functions, the others we are still implementing. Tnx, Vinicius Mesel=20 > Em 4 de mai de 2016, =C3=A0s 6:08 AM, Steven D'Aprano escreveu: >=20 >> On Wednesday 04 May 2016 09:48, Vinicius Mesel wrote: >>=20 >> I created a library called "GeoMath" that it's intent is to solve all >> Analytical Geometry problems in a simple way using Python. >>=20 >> If you want to check it out, here is the link: >> https://github.com/vmesel/GeoMath >>=20 >> And if you want to install it and start solving your problems with it, >> just run: pip install geomath! >=20 >=20 > Can you show us some examples? >=20 >=20 >=20 > --=20 > Steve >=20 >=20