delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/01/20/22:43:35

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <20130121034303.3163.qmail@stuge.se>
Date: Mon, 21 Jan 2013 04:43:03 +0100
From: Peter Stuge <peter AT stuge DOT se>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] libgeda circle parsing
Mail-Followup-To: geda-user AT delorie DOT 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> <BF5A9219-DC82-4105-AED9-A85B74BA5FA6 AT noqsi DOT com>
MIME-Version: 1.0
In-Reply-To: <BF5A9219-DC82-4105-AED9-A85B74BA5FA6@noqsi.com>
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

John Doty wrote:
> > 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."

A circle is also a curve of length 2*r*pi drawn around a given point.
When r=0 there is no curve..

Even though I've written drawing primitives which estimate shapes
onto some coordinate system your model of a circle as a set of points
still strikes me as quite unexpected and odd.

But anyway, there is always a center point. Should it be drawn?
I think that the center point should never be drawn with a line, but
always visualized with a marker, regardless of r. I think this is
what happens already?

As for the original question, yes, making invalid circles more
visible, or simply deleting them with a log message, would make
the error more likely to be noticed.


//Peter

- Raw text -


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