X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=4/TU8IavrfL1iEMpPjzkumaDSPE6pyiWkVjLjR1LFNM=; b=KdNc3QdKLkS+jl/bNbzzeZJNbIL6z/0RTKrnovraqtneVGnfL1IKeNzbgf/vAb/f5a tFgLvIJzFu5FnxAqvSR0Y6e2VoaMH0Aop18ulu2jJyU7xN1qQDXirzQwXjzAsYA+7HjZ 9mkhQ5xdHYqm7U3HodsEVsZsatFE8+pBVbs8X2rcAd3Web74BhJmgVXi2fQRi5X2SehP HEhTO7suBQ1beH1KKqy2PY1hBWOHm9+Nig3Cy88i2Vwe9cSKfxLxAbnR+oPL8tTymCnQ SiTjA6dcgCV20BZk+GSxZ4qSvvafBnOwNePqqqqWkuOf2o0AVzmBCNUgFlwsu+9GySCL 6CgA== MIME-Version: 1.0 X-Received: by 10.112.146.2 with SMTP id sy2mr16359491lbb.104.1445814174666; Sun, 25 Oct 2015 16:02:54 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 Oct 2015 23:02:54 +0000 Message-ID: Subject: Re: [geda-user] time for geometry.h From: "Evan Foss (evanfoss AT gmail DOT com) [via geda-user AT delorie DOT com]" To: gEDA users mailing list Content-Type: text/plain; charset=UTF-8 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, Oct 25, 2015 at 7:12 PM, Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > > The geometry code in search.c and find.c is messy. There's no geometrical > abstraction and everything is done from ad-hoc calculations off the traces > themselves. There are bugs. > > I'd like to add a module that does simple 2D geometry, e.g. Vec Line LineSec > Circle Ellipse Arc etc. as purely geometrical objects. > > Igor I think you're doing similar stuff perhaps we could coordinate. > > The alternative would be to use some existing geometry library e.g. CGAL, > Gemotry Engine, GEOS. > They are arguably much more than needed but on the other hand Stephan's > toporouter already needs something like that anyway. +1 -- Home http://evanfoss.googlepages.com/ Work http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/