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 To: geda-user AT delorie DOT com Subject: Re: [geda-user] libgeda circle parsing Mail-Followup-To: geda-user AT delorie DOT com References: <57B44348-7A53-4743-8A60-7C9D31EFD1ED AT noqsi DOT com> <20130117144225 DOT 30d2507f AT svelte> <1DCD2904-101A-4EDF-A5F5-4B137ACD71E8 AT noqsi DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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