Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #108144
| 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 <me@vmesel.com> |
| 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 | <mailman.388.1462385807.32212.python-list@python.org> (permalink) |
| References | <154790603d7.1040ee3bd58689.8427362743863775803@vmesel.com> <mailman.370.1462319330.32212.python-list@python.org> <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 | <me@vmesel.com> |
| 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 <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <8F08F6A8-09F9-46BE-9D88-900490515868@vmesel.com> |
| X-Mailman-Original-References | <154790603d7.1040ee3bd58689.8427362743863775803@vmesel.com> <mailman.370.1462319330.32212.python-list@python.org> <5729bc1a$0$2927$c3e8da3$76491128@news.astraweb.com> |
| Xref | csiph.com comp.lang.python:108144 |
Show key headers only | View raw
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 > >
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
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
csiph-web