delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/01/18/10:51:16

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Mime-Version: 1.0 (Apple Message framework v1085)
Subject: Re: [geda-user] libgeda circle parsing
From: John Doty <jpd AT noqsi DOT com>
In-Reply-To: <CFF59BF2-A3F0-43D2-A589-A283B52C8F26@jump-ing.de>
Date: Fri, 18 Jan 2013 08:50:43 -0700
Message-Id: <BF5A9219-DC82-4105-AED9-A85B74BA5FA6@noqsi.com>
References: <CAFfN_23UzAVVk0-TSZyVZihFmq1-0v0gpB7o4uxe3KgxDFDG0w AT mail DOT gmail DOT com> <57B44348-7A53-4743-8A60-7C9D31EFD1ED AT noqsi DOT com> <CAFfN_22hFE7AtMCXLvT-Up6ZxF=TZ7eYmr+PO5YbeFy7OU7Q0A AT mail DOT gmail DOT com> <20130117144225 DOT 30d2507f AT svelte> <1DCD2904-101A-4EDF-A5F5-4B137ACD71E8 AT noqsi DOT com> <CFF59BF2-A3F0-43D2-A589-A283B52C8F26 AT jump-ing DOT de>
To: geda-user AT delorie DOT com
X-Mailer: Apple Mail (2.1085)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r0IForGM014880
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

On Jan 18, 2013, at 7:13 AM, Markus Hitter wrote:

> 
> Am 18.01.2013 um 00:35 schrieb John Doty:
> 
>> Zero is a perfectly respectable radius for a circle to have. And as I've noted before, other objects of zero size can be handy.
> 
> I always thought you put emphasis on mathematically and logically correct models.

I do.

> In mathematics, there may be the special case of a circle with zero radius, but using this as a placeholder for something else is misuse.

I disagree. "A circle is the set of all points at a given distance from a given point." Thus, the mathematically and logically correct interpretation of a zero radius circle is the "given point", since it is at zero distance from itself, which no other point can be (let's not wander off into territory where old Berkeley would get upset, OK?).  There is no need for a separately encoded special case for points.

Different definitions, such as the usual parametric definition from analytic geometry, can even accommodate circles of negative radius. That can cause confusion for those who use the classical definition stated above. I'm therefore content to exclude negative radii.

> Plotting a zero-sized circle with a single display dot is misuse, too, and with the appearance of "retina" displays no longer useful either. Zero = zero = nothing.

By this reasoning, all lines should be invisible on the display also. They have zero width. But conventionally, in computer graphics, we widen them enough to be easily visible.

John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd AT noqsi DOT com



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019